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