Places the sprite obj at the location cubePos.
Namespace:
SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public XSprite PlaceSprite( XSprite obj, Vector3Int cubePos, bool clear ) |
Parameters
- obj
- Type: SGP.XSpace..::.XSprite
The sprite XSprite to be placed.
- cubePos
- Type: SGP.Baltie..::.Vector3Int
The coodinates Vector3Int where the sprite will be placed.
- clear
- Type: System..::.Boolean
Whether old sprites in the cube will be removed (but not conjured sprites).
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | obj is nullNothingnullptra null reference (Nothing in Visual Basic). |