Sets new sprite position in the world-coordinates.

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

Syntax

C#
public void SetWorldPosition(
	float x,
	float y,
	float z,
	bool relative
)

Parameters

x
Type: System..::.Single
New position in the axis X in the world-coordinates.
y
Type: System..::.Single
New position in the axis Y in the world-coordinates.
z
Type: System..::.Single
New position in the axis Z in the world-coordinates.
relative
Type: System..::.Boolean
Defines whether the coordinates will be treated as relative.

See Also