SpriteAnimationEventType

lumin. SpriteAnimationEventType

new SpriteAnimationEventType(value)

Event types triggered on the server when a SpriteNode updates.

Parameters:
Name Type Description
value number

Members

(static, constant) kLooped :lumin.SpriteAnimationEventType

The sprite animation reached the end of the sequence and is restarting the sequence.

Type:

(static, constant) kPaused :lumin.SpriteAnimationEventType

The sprite animation playback has entered a paused state.

Type:

(static, constant) kResumed :lumin.SpriteAnimationEventType

The sprite animation playback has resumed from a paused state.

Type:

(static, constant) kStarted :lumin.SpriteAnimationEventType

The sprite animation sequence has stated playback.

Type:

(static, constant) kStopped :lumin.SpriteAnimationEventType

Type:

value :number

Type:
  • number