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