Quaternion.CreateFromYawPitchRoll(Single, Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new quaternion from the given yaw, pitch, and roll.
public:
static System::Numerics::Quaternion CreateFromYawPitchRoll(float yaw, float pitch, float roll);
public static System.Numerics.Quaternion CreateFromYawPitchRoll (float yaw, float pitch, float roll);
static member CreateFromYawPitchRoll : single * single * single -> System.Numerics.Quaternion
Public Shared Function CreateFromYawPitchRoll (yaw As Single, pitch As Single, roll As Single) As Quaternion
Parameters
- yaw
- Single
The yaw angle, in radians, around the Y axis.
- pitch
- Single
The pitch angle, in radians, around the X axis.
- roll
- Single
The roll angle, in radians, around the Z axis.
Returns
The resulting quaternion.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.