Function AnimationTreePlayer.animationNodeSetAnimation

Binds a new Animation from the masterPlayer to the AnimationTreePlayer's animation node with name id.

void animationNodeSetAnimation (
  const(String) id,
  Animation animation
) nothrow @nogc;