Structure representing a bone in a 3D model. More...
#include <model.h>
Public Attributes | |
char | name [128] |
mat4 | offsetMatrix |
mat4 | transform |
ModelKeyframe * | translationKeyframes |
u32 | translationKeyframesCount |
ModelKeyframe * | rotationKeyframes |
u32 | rotationKeyframesCount |
ModelKeyframe * | scaleKeyframes |
u32 | scaleKeyframesCount |
u32 | index |
Structure representing a bone in a 3D model.
This structure holds the name, parent, and children of a bone in a 3D model.
char Bone::name[128] |
Name of the bone
mat4 Bone::offsetMatrix |
Offset matrix
mat4 Bone::transform |
Transformation matrix
ModelKeyframe* Bone::translationKeyframes |
Array of translation keyframes
u32 Bone::translationKeyframesCount |
Number of translation keyframes
ModelKeyframe* Bone::rotationKeyframes |
Array of rotation keyframes
u32 Bone::rotationKeyframesCount |
Number of rotation keyframes
ModelKeyframe* Bone::scaleKeyframes |
Array of scale keyframes
u32 Bone::scaleKeyframesCount |
Number of scale keyframes
u32 Bone::index |
Index of the bone