Creates a new animation of the specified parameters.

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

Syntax

C#
[DefaultMethodAttribute]
public XSimpleSpriteAnimator AddAnimation(
	string modelName,
	float x,
	float y,
	float x2,
	float y2
)

Parameters

modelName
Type: System..::.String
The model name.
x
Type: System..::.Single
Start animation X coordinate.
y
Type: System..::.Single
Start animation Y coordinate.
x2
Type: System..::.Single
End animation X coordinate.
y2
Type: System..::.Single
End animation Y coordinate.

Return Value

Returns the created XSimpleSpriteAnimator animation.

See Also