renderer-adapter.spriteanimation
Home > @eva/renderer-adapter > SpriteAnimation
SpriteAnimation class
Signature:export default class SpriteAnimation
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)({ frames }) | Constructs a new instance of the SpriteAnimation class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| animatedSprite | extras.AnimatedSprite | ||
| speed | number |
Methods
| Method | Modifiers | Description |
|---|---|---|
| gotoAndPlay(frameNumber) | ||
| gotoAndStop(frameNumber) | ||
| play() | ||
| stop() |
你有任何问题,或者需要我们帮你开发,请扫码联系