ResetSpriteState

From OxeyeWiki

Revision as of 15:07, 5 March 2009 by Jeb (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

video.resetSpriteState(spriteId)

Resets the animation of the sprite state. In other words, forces the animation to restart from the beginning.

Parameter Expected Type Description
spriteId An integer The ID of the sprite state. This ID is retreived when calling createSpriteState.
Returns

Returns nothing.

Daisymoon Video Lib


= Example

   video.resetSpriteState(sprite)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox