CommonLibVR
hkpConvexShape.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_hkpConvexShape;
11  inline static constexpr auto VTABLE = VTABLE_hkpConvexShape;
12 
13  ~hkpConvexShape() override; // 00
14 
15  // override (hkpSphereRepShape)
16  float GetMaximumProjection(const hkVector4& a_direction) const override; // 03
17  bool IsConvex() const override; // 05 - { return true; }
18  void CastRayWithCollectorImpl(const hkpShapeRayCastInput& a_input, const hkpCdBody& a_cdBody, hkpRayHitCollector& a_collector) const override; // 09
19 
20  // add
21  virtual void GetCentreImpl(hkVector4& a_centreOut) = 0; // 0D
22  virtual void Unk_0E(void) = 0; // 0E
23  virtual void Unk_0F(void) = 0; // 0F
24  virtual std::uint32_t Unk_10(void); // 10 - { return 2; }
25  virtual void Unk_11(void); // 11
26 
27  // members
28  float radius; // 20
29  std::uint32_t pad1C; // 24
30  private:
31  KEEP_FOR_RE()
32  };
33  static_assert(sizeof(hkpConvexShape) == 0x28);
34 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: hkVector4.h:9
Definition: hkpCdBody.h:8
Definition: hkpConvexShape.h:8
std::uint32_t pad1C
Definition: hkpConvexShape.h:29
static constexpr auto RTTI
Definition: hkpConvexShape.h:10
virtual void GetCentreImpl(hkVector4 &a_centreOut)=0
virtual void Unk_11(void)
void CastRayWithCollectorImpl(const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector) const override
~hkpConvexShape() override
virtual void Unk_0E(void)=0
virtual void Unk_0F(void)=0
float radius
Definition: hkpConvexShape.h:28
bool IsConvex() const override
float GetMaximumProjection(const hkVector4 &a_direction) const override
virtual std::uint32_t Unk_10(void)
static constexpr auto VTABLE
Definition: hkpConvexShape.h:11
Definition: hkpRayHitCollector.h:10
Definition: hkpSphereRepShape.h:10
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpConvexShape(static_cast< std::uint64_t >(689805))
constexpr std::array< REL::ID, 1 > VTABLE_hkpConvexShape
Definition: Offsets_VTABLE.h:14211