Tests whether the sprite or some of its subsprites has been created according to the given model.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
Parameters
- sprite
- Type: SGP.XSpace..::.XSprite
The XSprite sprite that will be tested.
- model
- Type: SGP.XSpace..::.XModel
The XModel model instance.
Return Value
Returns trueTruetruetrue (True in Visual Basic) if the sprite or some of its subsprites has been created according to the given model.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | sprite is nullNothingnullptra null reference (Nothing in Visual Basic). |