QuaternionRotationYawPitchRoll Method (Single, Single, Single)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Creates a quaternion given a yaw, pitch, and roll value.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Quaternion RotationYawPitchRoll(
	float yaw,
	float pitch,
	float roll
)

Parameters

yaw
Type: SystemSingle
The yaw of rotation.
pitch
Type: SystemSingle
The pitch of rotation.
roll
Type: SystemSingle
The roll of rotation.

Return Value

Type: Quaternion
The newly created quaternion.
See Also

Reference