CommonLibVR
hkpSphereShape.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkpConvexShape.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_hkpSphereShape;
11  inline static constexpr auto VTABLE = VTABLE_hkpSphereShape;
12 
13  ~hkpSphereShape() override; // 00
14 
15  // override (hkpConvexShape)
16  void CalcContentStatistics(hkStatisticsCollector* a_collector, const hkClass* a_class) const override; // 02
17  std::int32_t CalcSizeForSpu(const CalcSizeForSpuInput& a_input, std::int32_t a_spuBufferSizeLeft) const override; // 06 - { return 56; }
18  void GetAabbImpl(const hkTransform& a_localToWorld, float a_tolerance, hkAabb& a_out) const override; // 07
19  bool CastRayImpl(const hkpShapeRayCastInput& a_input, hkpShapeRayCastOutput& a_output) const override; // 08
20  std::int32_t GetNumCollisionSpheresImpl() override; // 0B - { return 8; }
21  const hkpSphere* GetCollisionSpheresImpl(hkSphere* a_sphereBuffer) override; // 0C
22  void GetCentreImpl(hkVector4& a_centreOut) override; // 0D
23  void Unk_0E(void) override; // 0E
24  void Unk_0F(void) override; // 0F
25  void Unk_11(void) override; // 11
26  private:
27  KEEP_FOR_RE()
28  };
29  static_assert(sizeof(hkpSphereShape) == 0x28);
30 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: hkAabb.h:8
Definition: hkTransform.h:9
Definition: hkVector4.h:9
Definition: hkpConvexShape.h:8
Definition: hkpSphereShape.h:8
std::int32_t CalcSizeForSpu(const CalcSizeForSpuInput &a_input, std::int32_t a_spuBufferSizeLeft) const override
static constexpr auto RTTI
Definition: hkpSphereShape.h:10
void Unk_11(void) override
const hkpSphere * GetCollisionSpheresImpl(hkSphere *a_sphereBuffer) override
void GetAabbImpl(const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out) const override
std::int32_t GetNumCollisionSpheresImpl() override
~hkpSphereShape() override
void Unk_0F(void) override
static constexpr auto VTABLE
Definition: hkpSphereShape.h:11
void Unk_0E(void) override
void CalcContentStatistics(hkStatisticsCollector *a_collector, const hkClass *a_class) const override
void GetCentreImpl(hkVector4 &a_centreOut) override
bool CastRayImpl(const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output) const override
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_hkpSphereShape
Definition: Offsets_VTABLE.h:14363
constexpr REL::ID RTTI_hkpSphereShape(static_cast< std::uint64_t >(689811))
Definition: hkpShapeRayCastOutput.h:9
Definition: hkpShape.h:51