CommonLibSSE NG
Loading...
Searching...
No Matches
hkpShapeCollectionFilter.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/H/hkAabb.h"
4#include "RE/H/hkpShape.h"
5
6namespace RE
7{
8 class hkpBvTreeShape;
9 class hkpCdBody;
10 class hkpShapeContainer;
11
12 struct hkpCollisionInput;
13
15 {
16 public:
17 inline static constexpr auto RTTI = RTTI_hkpShapeCollectionFilter;
18 inline static constexpr auto VTABLE = VTABLE_hkpShapeCollectionFilter;
19
20 // add
21 virtual bool IsCollisionEnabled1(const hkpCollisionInput& a_input, const hkpCdBody& a_bodyA, const hkpCdBody& a_bodyB, const hkpShapeContainer& a_shapeB, hkpShapeKey a_key) const = 0; // 00
22 virtual bool IsCollisionEnabled2(const hkpCollisionInput& a_input, const hkpCdBody& a_bodyA, const hkpCdBody& a_bodyB, const hkpShapeContainer& a_shapeA, const hkpShapeContainer& a_shapeB, hkpShapeKey a_keyA, hkpShapeKey a_keyB) const = 0; // 01
23 virtual std::int32_t NumShapeKeyHitsLimitBreached(const hkpCollisionInput& a_input, const hkpCdBody& a_bodyA, const hkpCdBody& a_bodyB, const hkpBvTreeShape* a_shapeB, hkAabb& a_AABB, hkpShapeKey* a_shapeKeysInOut, std::int32_t a_shapeKeysCapacity) const = 0; // 02
24
26 };
27 static_assert(sizeof(hkpShapeCollectionFilter) == 0x08);
28}
Definition hkAabb.h:8
Definition hkpBvTreeShape.h:12
Definition hkpCdBody.h:8
Definition hkpShapeCollectionFilter.h:15
virtual bool IsCollisionEnabled1(const hkpCollisionInput &a_input, const hkpCdBody &a_bodyA, const hkpCdBody &a_bodyB, const hkpShapeContainer &a_shapeB, hkpShapeKey a_key) const =0
virtual std::int32_t NumShapeKeyHitsLimitBreached(const hkpCollisionInput &a_input, const hkpCdBody &a_bodyA, const hkpCdBody &a_bodyB, const hkpBvTreeShape *a_shapeB, hkAabb &a_AABB, hkpShapeKey *a_shapeKeysInOut, std::int32_t a_shapeKeysCapacity) const =0
virtual bool IsCollisionEnabled2(const hkpCollisionInput &a_input, const hkpCdBody &a_bodyA, const hkpCdBody &a_bodyB, const hkpShapeContainer &a_shapeA, const hkpShapeContainer &a_shapeB, hkpShapeKey a_keyA, hkpShapeKey a_keyB) const =0
static constexpr auto VTABLE
Definition hkpShapeCollectionFilter.h:18
static constexpr auto RTTI
Definition hkpShapeCollectionFilter.h:17
Definition hkpShapeContainer.h:6
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpShapeCollectionFilter
Definition Offsets_VTABLE.h:4963
std::uint32_t hkpShapeKey
Definition hkpContactPointEvent.h:12
constexpr REL::VariantID RTTI_hkpShapeCollectionFilter(689815, 397670, 0x1f58d30)
Definition hkpCollisionInput.h:13