CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
hkpBvTreeShape.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/H/hkArray.h"
4#include "RE/H/hkpShape.h"
5
6namespace RE
7{
8 class hkAabb;
9 class hkpShapeContainer;
10
11 class hkpBvTreeShape : public hkpShape
12 {
13 public:
14 inline static constexpr auto RTTI = RTTI_hkpBvTreeShape;
15
16 enum class BvTreeType
17 {
18 kMOPP,
20 kUser
21 };
22
23 ~hkpBvTreeShape() override; // 00
24
25 // override (hkpShape)
26 const hkpShapeContainer* GetContainer() const override = 0; // 04
27
28 // add
29 virtual void QueryAabb(const hkAabb& a_aabb, hkArray<hkpShapeKey>& a_hits) const = 0; // 0B
30 virtual std::uint32_t QueryAabbImpl(const hkAabb& a_aabb, hkpShapeKey* a_hits, std::int32_t a_maxNumKeys) const = 0; // 0C
31
32 // members
34 std::uint8_t pad21; // 21
35 std::uint16_t pad22; // 22
36 std::uint32_t pad24; // 24
37 };
38 static_assert(sizeof(hkpBvTreeShape) == 0x28);
39}
Definition: hkAabb.h:8
Definition: hkArray.h:189
Definition: hkpBvTreeShape.h:12
std::uint8_t pad21
Definition: hkpBvTreeShape.h:34
const hkpShapeContainer * GetContainer() const override=0
BvTreeType
Definition: hkpBvTreeShape.h:17
~hkpBvTreeShape() override
virtual std::uint32_t QueryAabbImpl(const hkAabb &a_aabb, hkpShapeKey *a_hits, std::int32_t a_maxNumKeys) const =0
std::uint16_t pad22
Definition: hkpBvTreeShape.h:35
std::uint32_t pad24
Definition: hkpBvTreeShape.h:36
virtual void QueryAabb(const hkAabb &a_aabb, hkArray< hkpShapeKey > &a_hits) const =0
stl::enumeration< BvTreeType, std::uint8_t > bvTreeType
Definition: hkpBvTreeShape.h:33
static constexpr auto RTTI
Definition: hkpBvTreeShape.h:14
Definition: hkpShapeContainer.h:6
Definition: hkpShape.h:31
Definition: PCH.h:216
Definition: AbsorbEffect.h:6
std::uint32_t hkpShapeKey
Definition: hkpShape.h:27
constexpr REL::ID RTTI_hkpBvTreeShape
Definition: Offsets_RTTI.h:7537