CommonLibSSE NG
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 inline static constexpr auto VTABLE = VTABLE_hkpBvTreeShape;
16
17 enum class BvTreeType
18 {
19 kMOPP,
21 kUser
22 };
23
24 ~hkpBvTreeShape() override; // 00
25
26 // override (hkpShape)
27 const hkpShapeContainer* GetContainer() const override = 0; // 04
28
29 // add
30 virtual void QueryAabb(const hkAabb& a_aabb, hkArray<hkpShapeKey>& a_hits) const = 0; // 0B
31 virtual std::uint32_t QueryAabbImpl(const hkAabb& a_aabb, hkpShapeKey* a_hits, std::int32_t a_maxNumKeys) const = 0; // 0C
32
33 // members
35 std::uint8_t pad21; // 21
36 std::uint16_t pad22; // 22
37 std::uint32_t pad24; // 24
38 };
39 static_assert(sizeof(hkpBvTreeShape) == 0x28);
40}
Definition hkAabb.h:8
Definition hkArray.h:189
Definition hkpBvTreeShape.h:12
static constexpr auto VTABLE
Definition hkpBvTreeShape.h:15
std::uint8_t pad21
Definition hkpBvTreeShape.h:35
const hkpShapeContainer * GetContainer() const override=0
BvTreeType
Definition hkpBvTreeShape.h:18
~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:36
std::uint32_t pad24
Definition hkpBvTreeShape.h:37
virtual void QueryAabb(const hkAabb &a_aabb, hkArray< hkpShapeKey > &a_hits) const =0
stl::enumeration< BvTreeType, std::uint8_t > bvTreeType
Definition hkpBvTreeShape.h:34
static constexpr auto RTTI
Definition hkpBvTreeShape.h:14
Definition hkpShapeContainer.h:6
Definition hkpShape.h:32
Definition PCH.h:223
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_hkpBvTreeShape(689822, 397677, 0x1f58e80)
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpBvTreeShape
Definition Offsets_VTABLE.h:4973
std::uint32_t hkpShapeKey
Definition hkpContactPointEvent.h:12