Conjures a new sprite.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public XSprite Conjure(
	XModel model,
	Vector3Int pos,
	bool clear
)

Parameters

model
Type: SGP.XSpace..::.XModel
The XModel model being conjured.
pos
Type: SGP.Baltie..::.Vector3Int
The coordinate where the sprite being conjured.
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

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

See Also