Cafu Engine
CafuModelT::AnimT::AnimJointT Struct Reference

Public Attributes

Vector3fT DefaultPos
 The default position of the origin of the joint (relative, in the coordinate system of the parent joint). Used for all frames in this anim sequence unless bits 0 to 2 in Flags indicate that we have individiual values for each frame. More...
 
Vector3fT DefaultQtr
 The default orientation of the coordinate axes of the joint. Used for all frames in this anim sequence unless bits 3 to 5 in Flags indicate that we have individiual values for each frame. More...
 
Vector3fT DefaultScale
 The default scale of the coordinate axes of the joint. Used for all frames in this anim sequence unless bits 6 to 8 in Flags indicate that we have individiual values for each frame. More...
 
unsigned int Flags
 If the i-th bit in Flags is not set, DefaultPos[i], DefaultQtr[i-3] and DefaultScale[i-6] are used for all frames in this anim sequence. Otherwise, for each set bit, we find frame-specific values in AnimData[FirstDataIdx+...]. More...
 
unsigned int FirstDataIdx
 If f is the current frame, this is the index into Frames[f].AnimData[...]. More...
 

Member Data Documentation

Vector3fT CafuModelT::AnimT::AnimJointT::DefaultPos

The default position of the origin of the joint (relative, in the coordinate system of the parent joint). Used for all frames in this anim sequence unless bits 0 to 2 in Flags indicate that we have individiual values for each frame.

Vector3fT CafuModelT::AnimT::AnimJointT::DefaultQtr

The default orientation of the coordinate axes of the joint. Used for all frames in this anim sequence unless bits 3 to 5 in Flags indicate that we have individiual values for each frame.

Vector3fT CafuModelT::AnimT::AnimJointT::DefaultScale

The default scale of the coordinate axes of the joint. Used for all frames in this anim sequence unless bits 6 to 8 in Flags indicate that we have individiual values for each frame.

unsigned int CafuModelT::AnimT::AnimJointT::FirstDataIdx

If f is the current frame, this is the index into Frames[f].AnimData[...].

unsigned int CafuModelT::AnimT::AnimJointT::Flags

If the i-th bit in Flags is not set, DefaultPos[i], DefaultQtr[i-3] and DefaultScale[i-6] are used for all frames in this anim sequence. Otherwise, for each set bit, we find frame-specific values in AnimData[FirstDataIdx+...].


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