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,
	bool allowEmpty
)

Parameters

modelName
Type: System..::.String
Name of the model that will be used to create the sprite.
allowEmpty
Type: System..::.Boolean
Enables or disables creation of the empty sprite.

Return Value

The new sprite.

See Also