plugin-renderer-sprite-animation.spriteanimation
Home > @eva/plugin-renderer-sprite-animation > SpriteAnimation
SpriteAnimation class
Signature:export default class SpriteAnimation extends Component<SpriteAnimationParams>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
_animate | SpriteAnimationEngine | ||
animate | SpriteAnimationEngine | ||
autoPlay | boolean | ||
componentName | static | string | |
resource | string | ||
speed | number |
Methods
Method | Modifiers | Description |
---|---|---|
gotoAndPlay(frameNumber) | ||
gotoAndStop(frameNumber) | ||
init(obj) | ||
play(times) | ||
stop() |