Conjures a new sprite.
Namespace:
SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
Parameters
- modelName
- Type: System..::.String
The model name to conjure.
- spriteName
- Type: System..::.String
Name of the model.
- relPos
- Type: System..::.Int32
The relative cubes count in front of Baltie, where the model will be conjured. The implicit value is 1.
- clear
- Type: System..::.Boolean
Indicates whether the cube will be cleared before conjuring the new sprite.
Return Value
Returns the new conjured sprite XSprite.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | modelName is nullNothingnullptra null reference (Nothing in Visual Basic). |