Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 160
- class BSGeometry : public NiAVObject
- {
- public:
- virtual void Unk_39();
- virtual void Unk_3A();
- virtual void Unk_3B();
- virtual void Unk_3C();
- virtual void Unk_3D();
- virtual void Unk_3E();
- virtual void Unk_3F();
- virtual void Unk_40();
- float unk120[4]; // 120
- NiProperty * effectState; // 130
- NiProperty * shaderProperty; // 138
- BSSkin::Instance * skinInstance; // 140
- struct GeometryData
- {
- UInt64 flags;
- struct VertexData
- {
- void * unk00; // 00
- struct Vertex
- {
- typedef UInt16 hfloat;
- struct HalfVector3
- {
- hfloat x; // 00
- hfloat y; // 02
- hfloat z; // 04
- };
- HalfVector3 position;
- hfloat bitangent_x;
- struct UV
- {
- hfloat u;
- hfloat v;
- } uv;
- HalfVector3 normal;
- UInt8 bitangent_y;
- HalfVector3 tangent;
- UInt8 bitangent_z;
- hfloat boneWeights[4];
- UInt8 boneIndices[4];
- };
- Vertex * vertices; // 08
- };
- struct TriangleData
- {
- void * unk00; // 00 - same ptr as the one on vertexData
- UInt16 * triangles; // 08
- };
- VertexData * vertexData; // 08
- TriangleData * triangleData; // 10
- };
- GeometryData * geometryData; // 148
- UInt64 unk150; // 150
- UInt8 unk158; // 158
- UInt8 unk159; // 159
- UInt16 pad15A; // 15A
- UInt32 unk15C; // 15C
- };
- STATIC_ASSERT(sizeof(BSGeometry) == 0x160);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement