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(
	XModel model,
	string spriteName,
	int relPos,
	bool clear
)

Parameters

model
Type: SGP.XSpace..::.XModel
The XModel model being conjured.
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

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

See Also