Function AnimationNodeStateMachine.addNode

Adds a new node to the graph. The position is used for display in the editor.

void addNode (
  const(String) name,
  AnimationNode node,
  const(Vector2) position = Vector2(0.00000F, , 0.00000F, , ).this(0.00000F, 0.00000F)
) nothrow @nogc;