Creates new sprite from the mesh mesh.

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

Syntax

C#
protected static XSprite CreateSprite(
	Object mesh
)

Parameters

mesh
Type: System..::.Object
Mesh that the sprite will be created from.

Return Value

Returns newly created XSprite sprite.

Exceptions

ExceptionCondition
System..::.ArgumentNullException mesh is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also