Conjures a new sprite.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public virtual XSprite Conjure(
	XSprite obj,
	Vector3Int pos,
	XModelConfig config,
	bool clear
)

Parameters

obj
Type: SGP.XSpace..::.XSprite
A sprite XSprite which will be conjured.
pos
Type: SGP.Baltie..::.Vector3Int
The coordinate where the sprite being conjured.
config
Type: SGP.XSpace..::.XModelConfig
The configuration XModelConfig, which will be used for conjureing the model.
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 obj is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also