CommonLibVR
bhkCompressedMeshShapeData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/bhkMeshMaterial.h"
5 #include "RE/N/NiObject.h"
6 
7 namespace RE
8 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_bhkCompressedMeshShapeData;
13  inline static constexpr auto Ni_RTTI = NiRTTI_bhkCompressedMeshShapeData;
14  inline static constexpr auto VTABLE = VTABLE_bhkCompressedMeshShapeData;
15 
16  ~bhkCompressedMeshShapeData() override; // 00
17 
18  // override (NiObject)
19  const NiRTTI* GetRTTI() const override; // 02
20  void LoadBinary(NiStream& a_stream) override; // 18
21  void LinkObject(NiStream& a_stream) override; // 19 - { NiObject::LinkObject(a_stream); }
22  bool RegisterStreamables(NiStream& a_stream) override; // 1A - { return NiObject::RegisterStreamables(a_stream); }
23  void SaveBinary(NiStream& a_stream) override; // 1B
24  bool IsEqual(NiObject* a_object) override; // 1C
25 
26  //members
27  std::int32_t bitsPerIndex; // 10
28  std::int32_t bitsPerWIndex; // 14
29  std::int32_t wIndexMask; // 18
30  std::int32_t indexMask; // 1C
31  float error; // 20
32  std::uint32_t pad24; // 24
33  std::uint32_t pad28; // 28
34  std::uint32_t pad2C; // 2C
35  hkAabb bounds; // 30
48  std::uint16_t padF2; // F2
49  std::uint32_t padF4; // F4
50  std::uint64_t padF8; // F8
51  private:
52  KEEP_FOR_RE()
53  };
54  static_assert(sizeof(bhkCompressedMeshShapeData) == 0x100);
55 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: NiObject.h:37
Definition: NiRTTI.h:6
Definition: NiStream.h:29
Definition: bhkCompressedMeshShapeData.h:10
std::int32_t wIndexMask
Definition: bhkCompressedMeshShapeData.h:29
std::int32_t bitsPerWIndex
Definition: bhkCompressedMeshShapeData.h:28
std::uint32_t pad24
Definition: bhkCompressedMeshShapeData.h:32
hkArray< std::uint32_t > materials
Definition: bhkCompressedMeshShapeData.h:36
const NiRTTI * GetRTTI() const override
std::uint16_t padF2
Definition: bhkCompressedMeshShapeData.h:48
hkArray< std::uint16_t > materials16
Definition: bhkCompressedMeshShapeData.h:37
hkArray< hkQsTransform > transforms
Definition: bhkCompressedMeshShapeData.h:41
std::uint64_t padF8
Definition: bhkCompressedMeshShapeData.h:50
hkArray< bhkMeshMaterial > meshMaterials
Definition: bhkCompressedMeshShapeData.h:40
hkArray< hkpCompressedMeshShape::BigTriangle > bigTriangles
Definition: bhkCompressedMeshShapeData.h:42
std::uint32_t pad28
Definition: bhkCompressedMeshShapeData.h:33
void LoadBinary(NiStream &a_stream) override
void SaveBinary(NiStream &a_stream) override
hkArray< hkVector4 > bigVertices
Definition: bhkCompressedMeshShapeData.h:43
std::int32_t indexMask
Definition: bhkCompressedMeshShapeData.h:30
hkArray< hkpCompressedMeshShape::Chunk > chunks
Definition: bhkCompressedMeshShapeData.h:44
static constexpr auto Ni_RTTI
Definition: bhkCompressedMeshShapeData.h:13
hkArray< std::uint8_t > materials8
Definition: bhkCompressedMeshShapeData.h:38
void LinkObject(NiStream &a_stream) override
hkAabb bounds
Definition: bhkCompressedMeshShapeData.h:35
bool RegisterStreamables(NiStream &a_stream) override
std::int32_t bitsPerIndex
Definition: bhkCompressedMeshShapeData.h:27
std::uint32_t pad2C
Definition: bhkCompressedMeshShapeData.h:34
stl::enumeration< hkpCompressedMeshShape::MaterialType, std::uint8_t > materialType
Definition: bhkCompressedMeshShapeData.h:47
static constexpr auto VTABLE
Definition: bhkCompressedMeshShapeData.h:14
float error
Definition: bhkCompressedMeshShapeData.h:31
stl::enumeration< hkpWeldingUtility::WeldingType, std::uint8_t > weldingType
Definition: bhkCompressedMeshShapeData.h:46
static constexpr auto RTTI
Definition: bhkCompressedMeshShapeData.h:12
hkArray< hkpNamedMeshMaterial > namedMaterials
Definition: bhkCompressedMeshShapeData.h:39
hkArray< hkpCompressedMeshShape::ConvexPiece > convexPieces
Definition: bhkCompressedMeshShapeData.h:45
std::uint32_t padF4
Definition: bhkCompressedMeshShapeData.h:49
bool IsEqual(NiObject *a_object) override
Definition: hkAabb.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID NiRTTI_bhkCompressedMeshShapeData(static_cast< std::uint64_t >(525199))
constexpr std::array< REL::ID, 1 > VTABLE_bhkCompressedMeshShapeData
Definition: Offsets_VTABLE.h:13301
constexpr REL::ID RTTI_bhkCompressedMeshShapeData(static_cast< std::uint64_t >(690840))