AnimationData.makeBonesFromHierarchy

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

class AnimationData
makeBonesFromHierarchy
(
const(aiMesh*) mesh
,
const(aiNode*) currNode
)

Parameters

mesh
Type: const(aiMesh*)

Assimp mesh/bone object

currNode
Type: const(aiNode*)

The current node checking in the hierarchy

Return Value

Type: Bone

The bone based off of the currNode data

Meta