Click or drag to resize
SpriteEntityPlayAnimation Method
Play animation clip.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void PlayAnimation(
	SpriteAnimationClip clip,
	float speed = 1f,
	Nullable<int> startingStep = null
)

Parameters

clip
Type: GeonBit.Core.GraphicsSpriteAnimationClip
Animation clip to play.
speed (Optional)
Type: SystemSingle
Animation playing speed.
startingStep (Optional)
Type: SystemNullableInt32
Animation starting step.
See Also