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(
	int tileIndexStart,
	int tileIndexEnd,
	float x,
	float y,
	float z,
	float x2,
	float y2,
	float z2
)

Parameters

tileIndexStart
Type: System..::.Int32
Initial animation tile number.
tileIndexEnd
Type: System..::.Int32
Final animation tile number.
x
Type: System..::.Single
Start animation X coordinate.
y
Type: System..::.Single
Start animation Y coordinate.
z
Type: System..::.Single
Start animation Z coordinate.
x2
Type: System..::.Single
End animation X coordinate.
y2
Type: System..::.Single
End animation Y coordinate.
z2
Type: System..::.Single
End animation Z coordinate.

Return Value

Returns the created XSimpleSpriteAnimator animation.

See Also