Returns sprite animation number.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public virtual int GetAnimationIndex(
	string name
)

Parameters

name
Type: System..::.String
Animation name.

Return Value

Returns the animation number, or -1, if the sprite does not contain given animation.

See Also