Sets the sprite orientation in radians.

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

Syntax

C#
public void SetOrientation(
	float rotX,
	float rotY,
	float rotZ,
	bool relative
)

Parameters

rotX
Type: System..::.Single
Sprite orientation in the X axis in radians.
rotY
Type: System..::.Single
Sprite orientation in the Y axis in radians.
rotZ
Type: System..::.Single
Sprite orientation in the Z axis in radians.
relative
Type: System..::.Boolean
Defines whether the orientation will be taken relatively and will be added to the current orientation.

See Also