Rotates the vector.

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

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static Vector3 Vector3Rotate(
	Vector3 source,
	Quaternion q
)

Parameters

source
Type: Vector3
Source Vector3 vector.
q
Type: Quaternion
The Quaternion defining the source vector rotation.

Return Value

Returns new, rotated vector.

See Also