[]
Creates a rotation matrix from the specified yaw, pitch, and roll.
public static Matrix4x4 YawPitchRoll(float yaw, float pitch, float roll)
| Type | Name | Description |
|---|---|---|
| float | yaw | The angle of rotation, in radians, around the Y axis. |
| float | pitch | The angle of rotation, in radians, around the X axis. |
| float | roll | The angle of rotation, in radians, around the Z axis. |
| Type | Description |
|---|---|
| Matrix4x4 | The rotation matrix. |