[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.RotationYRef

RotationYRef Method

RotationYRef(out Matrix4x4, float)

Creates a matrix that rotates around the y-axis.

Declaration
public static void RotationYRef(out Matrix4x4 result, float radians)
Parameters
Type Name Description
Matrix4x4 result

When the method completes, contains the created rotation matrix.

float radians

Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

RotationYRef(out Matrix4x4, float, ref Vector3)

Creates a matrix for rotating points around the Y axis from a center point.

Declaration
public static void RotationYRef(out Matrix4x4 result, float radians, ref Vector3 centerPoint)
Parameters
Type Name Description
Matrix4x4 result

When the method completes, contains the created rotation matrix.

float radians

The amount, in radians, by which to rotate around the Y-axis.

Vector3 centerPoint

The center point.