LibT2FS 0.1
C API for accessing TEngine data in memory.
Loading...
Searching...
No Matches
s_T2FSModel Struct Reference

#include <models.h>

Data Fields

uint32_t id
 Model ID.
uint32_t var
 Variation ID.
T2FSModelType type
 Animated or static.
T2FSDataCoordF32 min
 Minimum bounds.
T2FSDataCoordF32 max
 Maximum bounds.
int8_t headTrackStartBone
 Headtrack bone ID.
int8_t headTrackEndBone
 TODO.
int8_t headTrackFactor
 TODO.
float scale
 TODO.
uint32_t vertexCount
 Total vertex count.
T2FSDataVertexvertices
 Vertex buffer.
uint8_t boneCount
 Amount of bones.
T2FSDataBonebones
 Bone infos.
uint32_t poseCount
 Amount of poses and possible amount of animations.
T2FSDataBoneOrientation ** poses
 The bone orientations per pose, like this poses[poseId][boneId].
uint32_t animationCount
 TODO current unused.
T2FSAnimationanimations
 TODO current unused.
uint32_t surfaceCount
T2FSSurfacesurfaces
uint32_t hotpointCount
 TODO current unused.
T2FSDataHotpointhotpoints
 TODO current unused.

Field Documentation

◆ id

uint32_t s_T2FSModel::id

Model ID.

◆ var

uint32_t s_T2FSModel::var

Variation ID.

◆ type

T2FSModelType s_T2FSModel::type

Animated or static.

◆ min

T2FSDataCoordF32 s_T2FSModel::min

Minimum bounds.

◆ max

T2FSDataCoordF32 s_T2FSModel::max

Maximum bounds.

◆ headTrackStartBone

int8_t s_T2FSModel::headTrackStartBone

Headtrack bone ID.

◆ headTrackEndBone

int8_t s_T2FSModel::headTrackEndBone

TODO.

◆ headTrackFactor

int8_t s_T2FSModel::headTrackFactor

TODO.

◆ scale

float s_T2FSModel::scale

TODO.

◆ vertexCount

uint32_t s_T2FSModel::vertexCount

Total vertex count.

◆ vertices

T2FSDataVertex* s_T2FSModel::vertices

Vertex buffer.

◆ boneCount

uint8_t s_T2FSModel::boneCount

Amount of bones.

◆ bones

T2FSDataBone* s_T2FSModel::bones

Bone infos.

◆ poseCount

uint32_t s_T2FSModel::poseCount

Amount of poses and possible amount of animations.

◆ poses

T2FSDataBoneOrientation** s_T2FSModel::poses

The bone orientations per pose, like this poses[poseId][boneId].

◆ animationCount

uint32_t s_T2FSModel::animationCount

TODO current unused.

◆ animations

T2FSAnimation* s_T2FSModel::animations

TODO current unused.

◆ surfaceCount

uint32_t s_T2FSModel::surfaceCount

◆ surfaces

T2FSSurface* s_T2FSModel::surfaces

◆ hotpointCount

uint32_t s_T2FSModel::hotpointCount

TODO current unused.

◆ hotpoints

T2FSDataHotpoint* s_T2FSModel::hotpoints

TODO current unused.


The documentation for this struct was generated from the following file: