Editare

Partajați prin


Matrix4x4 Constructors

Definition

Creates a 4x4 matrix.

Overloads

Matrix4x4(Matrix3x2)

Creates a Matrix4x4 object from a specified Matrix3x2 object.

Matrix4x4(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)

Creates a 4x4 matrix from the specified components.

Matrix4x4(Matrix3x2)

Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs

Creates a Matrix4x4 object from a specified Matrix3x2 object.

public:
 Matrix4x4(System::Numerics::Matrix3x2 value);
public Matrix4x4 (System.Numerics.Matrix3x2 value);
new System.Numerics.Matrix4x4 : System.Numerics.Matrix3x2 -> System.Numerics.Matrix4x4
Public Sub New (value As Matrix3x2)

Parameters

value
Matrix3x2

A 3x2 matrix.

Remarks

This constructor creates a 4x4 matrix whose M13, M14, M23, M24, M31, M32, M34, and M43 components are zero, and whose M33 and M44 components are one.

Applies to

Matrix4x4(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)

Source:
Matrix4x4.cs
Source:
Matrix4x4.cs
Source:
Matrix4x4.cs

Creates a 4x4 matrix from the specified components.

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 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);
new System.Numerics.Matrix4x4 : single * single * single * single * single * single * single * single * single * single * single * single * single * single * single * single -> System.Numerics.Matrix4x4
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)

Parameters

m11
Single

The value to assign to the first element in the first row.

m12
Single

The value to assign to the second element in the first row.

m13
Single

The value to assign to the third element in the first row.

m14
Single

The value to assign to the fourth element in the first row.

m21
Single

The value to assign to the first element in the second row.

m22
Single

The value to assign to the second element in the second row.

m23
Single

The value to assign to the third element in the second row.

m24
Single

The value to assign to the fourth element in the second row.

m31
Single

The value to assign to the first element in the third row.

m32
Single

The value to assign to the second element in the third row.

m33
Single

The value to assign to the third element in the third row.

m34
Single

The value to assign to the fourth element in the third row.

m41
Single

The value to assign to the first element in the fourth row.

m42
Single

The value to assign to the second element in the fourth row.

m43
Single

The value to assign to the third element in the fourth row.

m44
Single

The value to assign to the fourth element in the fourth row.

Applies to