SpriteAnimationClip Constructor |
Create animation clip.
Namespace:
GeonBit.Core.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public SpriteAnimationClip(
int startStep,
int endStep,
float speed = 1f,
bool loop = true
)
Parameters
- startStep
- Type: SystemInt32
Starting step index. - endStep
- Type: SystemInt32
Ending step index. - speed (Optional)
- Type: SystemSingle
Animation speed. - loop (Optional)
- Type: SystemBoolean
If true, will play animation in loop.
See Also