Прочетете на английски Редактиране

Споделяне чрез


Matrix4x4 Constructors

Definition

Creates a 4x4 matrix.

Overloads

Matrix4x4(Matrix3x2)

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

Creates a Matrix4x4 object from a specified Matrix3x2 object.

C#
public Matrix4x4(System.Numerics.Matrix3x2 value);

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

.NET 10 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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.

C#
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

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

.NET 10 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0