Skip to main content

plugin-renderer-sprite-animation.spriteanimation

Home > @eva/plugin-renderer-sprite-animation > SpriteAnimation

SpriteAnimation class

Signature:
export default class SpriteAnimation extends Component<SpriteAnimationParams> 
Extends: Component<[SpriteAnimationParams](/docs/api/plugin-renderer-sprite-animation.spriteanimationparams)>

Properties

PropertyModifiersTypeDescription
_animateSpriteAnimationEngine
animateSpriteAnimationEngine
autoPlayboolean
componentNamestaticstring
resourcestring
speednumber

Methods

MethodModifiersDescription
gotoAndPlay(frameNumber)
gotoAndStop(frameNumber)
init(obj)
play(times)
stop()