Click or drag to resize
MatrixCreateFromYawPitchRoll Method
Creates a new rotation Matrix from the specified yaw, pitch and roll values.

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

Parameters

yaw
Type: SystemSingle
The yaw rotation value in radians.
pitch
Type: SystemSingle
The pitch rotation value in radians.
roll
Type: SystemSingle
The roll rotation value in radians.

Return Value

Type: Matrix
The rotation Matrix.
Remarks
For more information about yaw, pitch and roll visit http://en.wikipedia.org/wiki/Euler_angles.
See Also