Returns the XModel model that this sprite has been created in accordance with.

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

Syntax

C#
public static XModel GetSpriteModel(
	XSprite sprite
)

Parameters

sprite
Type: SGP.XSpace..::.XSprite
The XSprite sprite to get the model.

Return Value

Model that has been used as a model for this sprite.

Exceptions

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

See Also