Places a new sprite from the model modelName at cubePos.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public XSprite PlaceSprite(
	string modelName,
	Vector3Int cubePos
)

Parameters

modelName
Type: System..::.String
Model name.
cubePos
Type: SGP.Baltie..::.Vector3Int
The coodinates Vector3Int where the sprite will be placed.

Exceptions

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

See Also