Creates new sprite in accordance with the model.

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

Syntax

C#
public static XSprite CreateSprite(
	string modelName,
	float x,
	float y,
	float z
)

Parameters

modelName
Type: System..::.String
Name of the model that will be used to create the sprite.
x
Type: System..::.Single
The X-coordinate.
y
Type: System..::.Single
The Y-coordinate.
z
Type: System..::.Single
The Z-coordinate.

Return Value

New sprite.

See Also