[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.RotationAxisRef

RotationAxisRef Method

RotationAxisRef(out Matrix4x4, ref Vector3, float)

Creates a matrix that rotates around an arbitary axis.

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

When the method completes, contains the created rotation matrix.

Vector3 axis

The axis around which to rotate. This parameter is assumed to be normalized.

float radians

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