[]
Initializes a new instance of the Matrix4x4 struct.
public Matrix4x4(float value)
Type | Name | Description |
---|---|---|
float | value | The value that will be assigned to all components. |
Initializes a new instance of the Matrix4x4 struct.
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)
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. |
Initializes a new instance of the Matrix4x4 struct.
public Matrix4x4(float[] values)
Type | Name | Description |
---|---|---|
float[] | values | The values to assign to the components of the matrix. This must be an array with sixteen elements. |
Type | Condition |
---|---|
ArgumentNullException | Thrown when |
ArgumentOutOfRangeException | Thrown when |