[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.YawPitchRoll

YawPitchRoll Method

YawPitchRoll(float, float, float)

Creates a rotation matrix from the specified yaw, pitch, and roll.

Declaration
public static Matrix4x4 YawPitchRoll(float yaw, float pitch, float roll)
Parameters
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.

Returns
Type Description
Matrix4x4

The rotation matrix.