Create a new AnimNode instance.
The AnimState that this BlendTree belongs to.
The parent of the AnimNode. If not null, the AnimNode is stored as part of an AnimBlendTree hierarchy.
The name of the AnimNode. Used when assigning an AnimTrack to it.
The coordinate/vector thats used to determine the weight of this node when it's part of an AnimBlendTree.
Optional
speed: number = 1The speed that its AnimTrack should play at. Defaults to 1.
AnimNodes are used to represent a single animation track in the current state. Each state can contain multiple AnimNodes, in which case they are stored in a BlendTree hierarchy, which will control the weight (contribution to the states final animation) of its child AnimNodes.