Click or drag to resize

MatrixCreateFromYawPitchRoll Method

Creates a new rotation Matrix from the specified yaw, pitch and roll values.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
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