CommonLibSSE NG
hkpCapsuleShape.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkVector4.h"
4 #include "RE/H/hkpConvexShape.h"
5 
6 namespace RE
7 {
9  {
10  public:
11  inline static constexpr auto RTTI = RTTI_hkpCapsuleShape;
12  inline static constexpr auto VTABLE = VTABLE_hkpCapsuleShape;
13 
14  ~hkpCapsuleShape() override; // 00
15 
16  // override (hkpConvexShape)
17  void CalcContentStatistics(hkStatisticsCollector* a_collector, const hkClass* a_class) const override; // 02
18  std::int32_t CalcSizeForSpu(const CalcSizeForSpuInput& a_input, std::int32_t a_spuBufferSizeLeft) const override; // 06 - { return 56; }
19  void GetAabbImpl(const hkTransform& a_localToWorld, float a_tolerance, hkAabb& a_out) const override; // 07
20  bool CastRayImpl(const hkpShapeRayCastInput& a_input, hkpShapeRayCastOutput& a_output) const override; // 08
21  std::int32_t GetNumCollisionSpheresImpl() override; // 0B - { return 8; }
22  const hkpSphere* GetCollisionSpheresImpl(hkSphere* a_sphereBuffer) override; // 0C
23  void GetCentreImpl(hkVector4& a_centreOut) override; // 0D
24  void Unk_0E(void) override; // 0E
25  void Unk_0F(void) override; // 0F
26  void Unk_11(void) override; // 11
27 
28  // members
29  std::uint32_t pad28; // 28
30  std::uint32_t pad2C; // 2C
33  };
34  static_assert(sizeof(hkpCapsuleShape) == 0x50);
35 }
Definition: hkAabb.h:8
Definition: hkTransform.h:9
Definition: hkVector4.h:9
Definition: hkpCapsuleShape.h:9
static constexpr auto VTABLE
Definition: hkpCapsuleShape.h:12
~hkpCapsuleShape() override
std::uint32_t pad2C
Definition: hkpCapsuleShape.h:30
void Unk_0F(void) override
void Unk_0E(void) override
static constexpr auto RTTI
Definition: hkpCapsuleShape.h:11
const hkpSphere * GetCollisionSpheresImpl(hkSphere *a_sphereBuffer) override
std::uint32_t pad28
Definition: hkpCapsuleShape.h:29
hkVector4 vertexB
Definition: hkpCapsuleShape.h:32
hkVector4 vertexA
Definition: hkpCapsuleShape.h:31
void Unk_11(void) override
void GetCentreImpl(hkVector4 &a_centreOut) override
void CalcContentStatistics(hkStatisticsCollector *a_collector, const hkClass *a_class) const override
std::int32_t CalcSizeForSpu(const CalcSizeForSpuInput &a_input, std::int32_t a_spuBufferSizeLeft) const override
bool CastRayImpl(const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output) const override
std::int32_t GetNumCollisionSpheresImpl() override
void GetAabbImpl(const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out) const override
Definition: hkpConvexShape.h:8
Definition: AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpCapsuleShape
Definition: Offsets_VTABLE.h:4960
constexpr REL::VariantID RTTI_hkpCapsuleShape(689812, 397667, 0x1f58ca0)
Definition: hkpShapeRayCastOutput.h:9
Definition: hkpShape.h:51