GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.ECS.Components.Graphics
SpriteRenderer Class
SpriteRenderer Methods
ChangeSpritesheet Method
Clone Method
PlayAnimation Method
SetStep Method
SpriteRenderer
PlayAnimation Method
Play animation clip.
Namespace:
GeonBit.ECS.Components.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
PlayAnimation
(
SpriteAnimationClip
clip
,
float
speed
= 1f )
Parameters
clip
Type:
GeonBit.Core.Graphics
SpriteAnimationClip
Animation clip to play.
speed
(Optional)
Type:
System
Single
Animation playing speed.
See Also
Reference
SpriteRenderer Class
GeonBit.ECS.Components.Graphics Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com