Related help topics: #include <humanik.h>
A description of a data set that contains separate translation, quaternion rotation, and scaling values for multiple different Nodes in an HIKCharacterState.
A data set is a memory buffer containing many data blocks, where each block contains the animation data for one of your character's Nodes. This structure contains metadata about the data set, indicating its transform space, its stride (the total size of each data block), a set of HumanIK NodeIDs that indicates how your data blocks map onto HumanIK Nodes, and the offset of the translation, rotation and scaling data within each data block.
Examples: Public Types | |
| enum | { HIKGlobalSpace = 0, HIKLocalSpace = 1 } |
Public Attributes | |
| int * | mHIKNodeId |
| size_t | mQOffset |
| size_t | mSOffset |
| size_t | mStride |
| size_t | mTOffset |
| enum HIKDataDescription:: { ... } | mTransformSpace |
| anonymous enum |
| int* HIKDataDescription::mHIKNodeId |
A list of HumanIK Node IDs indicating which Node each of your data blocks applies to. The last value in this list must be the special token HIKLastNode. See the HIKToken enumeration.
| size_t HIKDataDescription::mQOffset |
Specifies the offset of the quaternion rotation data within each data block. Must be a 4x1 vector, aligned on 16 bytes.
| size_t HIKDataDescription::mSOffset |
Specifies the offset of the scaling data within each data block. Must be a 4x1 vector, aligned on 16 bytes.
| size_t HIKDataDescription::mStride |
Specifies the total size of each data block.
| size_t HIKDataDescription::mTOffset |
Specifies the offset of the translation data within each data block. Must be a 4x1 vector, aligned on 16 bytes.
| enum { ... } HIKDataDescription::mTransformSpace |
Indicates whether your Node data is expressed in local or global space.