[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.-ctor

Matrix4x4 Constructor

Matrix4x4(float)

Initializes a new instance of the Matrix4x4 struct.

Declaration
public Matrix4x4(float value)
Parameters
Type Name Description
float value

The value that will be assigned to all components.

Matrix4x4(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)

Initializes a new instance of the Matrix4x4 struct.

Declaration
public Matrix4x4(float M11, float M12, float M13, float M14, float M21, float M22, float M23, float M24, float M31, float M32, float M33, float M34, float M41, float M42, float M43, float M44)
Parameters
Type Name Description
float M11

The value to assign at row 1 column 1 of the matrix.

float M12

The value to assign at row 1 column 2 of the matrix.

float M13

The value to assign at row 1 column 3 of the matrix.

float M14

The value to assign at row 1 column 4 of the matrix.

float M21

The value to assign at row 2 column 1 of the matrix.

float M22

The value to assign at row 2 column 2 of the matrix.

float M23

The value to assign at row 2 column 3 of the matrix.

float M24

The value to assign at row 2 column 4 of the matrix.

float M31

The value to assign at row 3 column 1 of the matrix.

float M32

The value to assign at row 3 column 2 of the matrix.

float M33

The value to assign at row 3 column 3 of the matrix.

float M34

The value to assign at row 3 column 4 of the matrix.

float M41

The value to assign at row 4 column 1 of the matrix.

float M42

The value to assign at row 4 column 2 of the matrix.

float M43

The value to assign at row 4 column 3 of the matrix.

float M44

The value to assign at row 4 column 4 of the matrix.

Matrix4x4(float[])

Initializes a new instance of the Matrix4x4 struct.

Declaration
public Matrix4x4(float[] values)
Parameters
Type Name Description
float[] values

The values to assign to the components of the matrix. This must be an array with sixteen elements.

Exceptions
Type Condition
ArgumentNullException

Thrown when values is null.

ArgumentOutOfRangeException

Thrown when values contains more or less than sixteen elements.