SpriteChangeAnimationSpeed Method |
Change the animation speed of a particular animation. This looks at the first frame
and compares that frame to the speed specified. It adjusts all the animations by the
same percentage.
Namespace:
SpriteLibrary
Assembly:
SpriteLibrary (in SpriteLibrary.dll) Version: 1.0.0.6 (1.0.0.6)
Syntaxpublic void ChangeAnimationSpeed(
int WhichAnimation,
int newSpeed
)
Parameters
- WhichAnimation
- Type: SystemInt32
The integer representing the animation to change - newSpeed
- Type: SystemInt32
The speed in milliseconds for the new animation
See Also