Creates a new animation of the specified parameters.

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

Syntax

C#
public XSimpleSpriteAnimator AddAnimation(
	Object animationIndex,
	string modelName
)

Parameters

animationIndex
Type: System..::.Object
Key of the added animation, using which will be accessible through an iterator.
modelName
Type: System..::.String
The model name.

Return Value

Returns the created XSimpleSpriteAnimator animation.

See Also