FromEulerAngle

Quaternion.FromEulerAngle method (1 of 2)

Creates quaternion from given Euler angle

public static Quaternion FromEulerAngle(double pitch, double yaw, double roll)
Parameter Type Description
pitch Double Pitch in radian
yaw Double Yaw in radian
roll Double Roll in radian

Return Value

Created quaternion

See Also


Quaternion.FromEulerAngle method (2 of 2)

Creates quaternion from given Euler angle

public static Quaternion FromEulerAngle(Vector3 eulerAngle)
Parameter Type Description
eulerAngle Vector3 Euler angle in radian

Return Value

Created quaternion

See Also