Sets the given Animation Frame as being the current frame and applies it to the parent Game Object, adjusting size and origin as needed.
name | type | description |
---|---|---|
animationFrame | Phaser.Animations.AnimationFrame |
The animation frame to change to. |
The Game Object this Animation Component belongs to.