Places the sprite obj at the location cubePos.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public XSprite PlaceSprite(
	XSprite obj,
	Vector3Int cubePos,
	XRelativePoint alignPos,
	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.
alignPos
Type: SGP.XSpace..::.XRelativePoint
The relative point, where the sprite obj will be aligned.
clear
Type: System..::.Boolean
Whether old sprites in the cube will be removed (but not conjured sprites).

Exceptions

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

See Also