CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
hkpBoxShape.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/H/hkVector4.h"
5
6namespace RE
7{
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_hkpBoxShape;
12
13 ~hkpBoxShape() override; // 00
14
15 // overwrite
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 64; }
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
27 // members
28 std::uint32_t pad28; // 28
29 std::uint32_t pad2C; // 2C
31 };
32 static_assert(sizeof(hkpBoxShape) == 0x40);
33}
Definition: hkAabb.h:8
Definition: hkTransform.h:9
Definition: hkVector4.h:9
Definition: hkpBoxShape.h:9
std::int32_t GetNumCollisionSpheresImpl() override
void Unk_11(void) override
~hkpBoxShape() override
void CalcContentStatistics(hkStatisticsCollector *a_collector, const hkClass *a_class) const override
hkVector4 halfExtents
Definition: hkpBoxShape.h:30
std::uint32_t pad2C
Definition: hkpBoxShape.h:29
void Unk_0F(void) override
void Unk_0E(void) override
void GetAabbImpl(const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out) const override
void GetCentreImpl(hkVector4 &a_centreOut) override
bool CastRayImpl(const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output) const override
const hkpSphere * GetCollisionSpheresImpl(hkSphere *a_sphereBuffer) override
static constexpr auto RTTI
Definition: hkpBoxShape.h:11
std::int32_t CalcSizeForSpu(const CalcSizeForSpuInput &a_input, std::int32_t a_spuBufferSizeLeft) const override
std::uint32_t pad28
Definition: hkpBoxShape.h:28
Definition: hkpConvexShape.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpBoxShape(static_cast< std::uint64_t >(689807))
Definition: hkpShape.h:50
Definition: hkpShapeRayCastOutput.h:9