Tests whether the sprite has been created according to some model.

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

Syntax

C#
public static bool IsSpriteFromModel(
	XSprite sprite
)

Parameters

sprite
Type: SGP.XSpace..::.XSprite
The XSprite sprite that will be tested.

Return Value

Returns trueTruetruetrue (True in Visual Basic) if the sprite has been created by some model.

Exceptions

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

See Also