Function AssetAnimation.fillTransforms
Recurse the bone
hierarchy, filling up the bone
transforms
along the way
Prototype
void fillTransforms( AssetAnimation.BonePose[] bonePoses, gl3n. linalg. Matrix!(float,4,4)[] transforms, AssetAnimation. Bone bone, float time, gl3n. linalg. Matrix!(float,4,4) parentTransform );
Parameters
Name | Description |
---|---|
transforms | The boneTransforms to fill up |
bone | The current bone checking |
time | The animations current time |
parentTransform | The parents transform (which effects this bone ) |