[]
Initializes a new instance of the Matrix4x4 struct.
public Matrix4x4(float value)
Public Sub New(value As Single)
| 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)
Public Sub New(M11 As Single, M12 As Single, M13 As Single, M14 As Single, M21 As Single, M22 As Single, M23 As Single, M24 As Single, M31 As Single, M32 As Single, M33 As Single, M34 As Single, M41 As Single, M42 As Single, M43 As Single, M44 As Single)
| 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)
Public Sub New(values As Single())
| 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 |