Turns the sprite towards the coordinate.

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

Syntax

C#
void SetOrientation(
	XSprite sprite,
	Vector3 parentLocalDirection
)

Parameters

sprite
Type: SGP.XSpace..::.XSprite
The XSprite sprite being turned.
parentLocalDirection
Type: Vector3
Direction to that the sprite should turn.

See Also