CommonLibSSE (powerof3)
hkpCachingShapePhantom.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkpShapePhantom.h"
4 
5 namespace RE
6 {
7  class hkpCollisionAgent;
8 
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_hkpCachingShapePhantom;
13 
14  class OrderByUid
15  {
16  public:
17  };
18  static_assert(sizeof(OrderByUid) == 0x1);
19 
21  {
22  hkpCollisionAgent* agent; // 00
24  };
25  static_assert(sizeof(CollisionDetail) == 0x10);
26 
28 
29  ~hkpCachingShapePhantom() override; // 00
30 
31  // override (hkpShapePhantom)
32  void CalcContentStatistics(hkStatisticsCollector* a_collector, const hkClass* a_class) const override; // 02
33  hkpPhantomType GetType() const override; // 06 - { return hkpPhantomType::kCachingShape; }
34  void AddOverlappingCollidable(hkpCollidable* a_collidable) override; // 08
35  bool IsOverlappingCollidableAdded(const hkpCollidable* a_collidable) override; // 09
36  void RemoveOverlappingCollidable(hkpCollidable* a_collidable) override; // 0A
37  void EnsureDeterministicOrder() override; // 0B
38  hkpPhantom* Clone() const override; // 0C
39  void UpdateShapeCollectionFilter() override; // 0D
40  void DeallocateInternalArrays() override; // 0E
41  void SetPositionAndLinearCast(const hkVector4& a_position, const hkpLinearCastInput& a_input, hkpCdPointCollector& a_castCollector, hkpCdPointCollector* a_startCollector) override; // 0F
42  void SetTransformAndLinearCast(const hkTransform& a_transform, const hkpLinearCastInput& a_input, hkpCdPointCollector& a_castCollector, hkpCdPointCollector* a_startCollector) override; // 10
43  void GetClosestPoints(hkpCdPointCollector& a_collector, const hkpCollisionInput* a_input = 0) override; // 11
44  void GetPenetrations(hkpCdBodyPairCollector& a_collector, const hkpCollisionInput* a_input = 0) override; // 12
45 
46  // members
48  bool orderDirty; // 1B0
50  std::uint16_t pad1B2; // 1B2
51  std::uint32_t pad1B4; // 1B4
52  std::uint64_t pad1B8; // 1B8
53  };
54  static_assert(sizeof(hkpCachingShapePhantom) == 0x1C0);
55 }
Definition: hkArray.h:189
Definition: hkTransform.h:9
Definition: hkVector4.h:8
Definition: hkpCachingShapePhantom.h:15
Definition: hkpCachingShapePhantom.h:10
void RemoveOverlappingCollidable(hkpCollidable *a_collidable) override
static constexpr auto RTTI
Definition: hkpCachingShapePhantom.h:12
std::uint64_t pad1B8
Definition: hkpCachingShapePhantom.h:52
bool orderDirty
Definition: hkpCachingShapePhantom.h:48
hkpPhantomType GetType() const override
~hkpCachingShapePhantom() override
void SetTransformAndLinearCast(const hkTransform &a_transform, const hkpLinearCastInput &a_input, hkpCdPointCollector &a_castCollector, hkpCdPointCollector *a_startCollector) override
void GetPenetrations(hkpCdBodyPairCollector &a_collector, const hkpCollisionInput *a_input=0) override
std::uint32_t pad1B4
Definition: hkpCachingShapePhantom.h:51
void SetPositionAndLinearCast(const hkVector4 &a_position, const hkpLinearCastInput &a_input, hkpCdPointCollector &a_castCollector, hkpCdPointCollector *a_startCollector) override
void DeallocateInternalArrays() override
hkArray< CollisionDetail > collisionDetails
Definition: hkpCachingShapePhantom.h:47
bool IsOverlappingCollidableAdded(const hkpCollidable *a_collidable) override
std::uint16_t pad1B2
Definition: hkpCachingShapePhantom.h:50
OrderByUid orderRelation
Definition: hkpCachingShapePhantom.h:49
void GetClosestPoints(hkpCdPointCollector &a_collector, const hkpCollisionInput *a_input=0) override
void EnsureDeterministicOrder() override
void CalcContentStatistics(hkStatisticsCollector *a_collector, const hkClass *a_class) const override
hkpPhantom * Clone() const override
void UpdateShapeCollectionFilter() override
void AddOverlappingCollidable(hkpCollidable *a_collidable) override
Definition: hkpCdPointCollector.h:8
Definition: hkpCollidable.h:12
Definition: hkpPhantom.h:15
Definition: hkpShapePhantom.h:15
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpCachingShapePhantom
Definition: Offsets_RTTI.h:7539
hkpPhantomType
Definition: hkpPhantomType.h:6
Definition: hkpCachingShapePhantom.h:21
hkpCollidable * collidable
Definition: hkpCachingShapePhantom.h:23
hkpCollisionAgent * agent
Definition: hkpCachingShapePhantom.h:22
Definition: hkpCollisionInput.h:13
Definition: hkpLinearCastInput.h:8