Function AssetAnimation.makeBonesFromHierarchy

Recurse the node hierarchy, parsing it into a usable bone hierarchy

Prototype

AssetAnimation.Bone makeBonesFromHierarchy(
  const(derelict.assimp3.types.aiMesh*) mesh,
  const(derelict.assimp3.types.aiNode*) currNode
);

Parameters

NameDescription
animation Assimp animation/poses object
mesh Assimp mesh/bone object
currNode The current node checking in the hierarchy

Returns

The bone based off of the currNode data

Authors

Copyright

License