QuaternionCreateFromYawPitchRoll Method |
Creates a new
Quaternion from the specified yaw, pitch and roll angles.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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:
QuaternionA new quaternion from the concatenated yaw, pitch, and roll angles.
See Also