The internal update loop for the AnimationState Component.
This is called automatically by the Sprite.preUpdate
method.
name | type | description |
---|---|---|
time | number |
The current timestamp. |
delta | number |
The delta time, in ms, elapsed since the last frame. |