Exemplo n.º 1
0
 /// <summary>
 /// Updates the animations. You can distribute the update() call of multiple skeletons over multiple threads. But don't manipulate a single skeleton instance from more than one thread.
 /// </summary>
 public void Update(float gameTimeSeconds)
 {
     CurrentAnimation?.PlayForwardTo(gameTimeSeconds, _nodes); // update all animated properties
     ApplyTransforms();                                        // apply the changed transforms to all vertices
 }