Sprite Factory

ReadMe
Release Notes
Overview
Using the Editor
Upgrading

Concepts
Sprites
Master Sprites
Sprite Groups
Colliders
Locators
Material Sets
SpriteUpdater
SpriteCamera

Advanced
Working in Multiple Projects

Classes
Runtime Classes

Videos
Overview
Creating Sprites
Sprite Inspector
Frame Events
Collision System
Locator System
Material Sets

Links
Sprite Factory Site
Web Documentation
Support
Contact

SpriteFactory.Sprite.SetAnimationSpeed

C#: void SetAnimationSpeed (string animationName, float speed)
JS: function SetAnimationSpeed (animationName : String, speed : float) : void

Description
Set the playback speed of an animation by name.

Speed is a multiplier. 0 = stopped, 1 = normal speed, +1 = fast speed. The final animation speed is also affected by Sprite.playbackSpeed.


C#: void SetAnimationSpeed (int animationIndex, float speed)
JS: function SetAnimationSpeed (animationIndex : int, speed : float) : void

Description
Set the playback speed of an animation by index.

Speed is a multiplier. 0 = stopped, 1 = normal speed, +1 = fast speed. The final animation speed is also affected by Sprite.playbackSpeed.

See Also
GetAnimationSpeed
playbackSpeed