Click or drag to resize
QuaternionCreateFromYawPitchRoll Method
Creates a new Quaternion from the specified yaw, pitch and roll angles.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public static Quaternion CreateFromYawPitchRoll(
	float yaw,
	float pitch,
	float roll
)

Parameters

yaw
Type: SystemSingle
Yaw around the y axis in radians.
pitch
Type: SystemSingle
Pitch around the x axis in radians.
roll
Type: SystemSingle
Roll around the z axis in radians.

Return Value

Type: Quaternion
A new quaternion from the concatenated yaw, pitch, and roll angles.
See Also