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](/zh-cn/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()
你有任何问题,或者需要我们帮你开发,请扫码联系
X