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

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


Matrix4x4.Multiply Operator

Definition

Performs a multiplication operation on a matrix.

Overloads

Multiply(Matrix4x4, Matrix4x4)

Returns the matrix that results from multiplying two matrices together.

Multiply(Matrix4x4, Single)

Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor.

Multiply(Matrix4x4, Matrix4x4)

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

Returns the matrix that results from multiplying two matrices together.

C#
public static System.Numerics.Matrix4x4 operator *(System.Numerics.Matrix4x4 value1, System.Numerics.Matrix4x4 value2);

Parameters

value1
Matrix4x4

The first matrix.

value2
Matrix4x4

The second matrix.

Returns

The product matrix.

Remarks

The Multiply method defines the operation of the multiplication operator for Matrix4x4 objects.

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

Multiply(Matrix4x4, Single)

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

Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor.

C#
public static System.Numerics.Matrix4x4 operator *(System.Numerics.Matrix4x4 value1, float value2);

Parameters

value1
Matrix4x4

The matrix to scale.

value2
Single

The scaling value to use.

Returns

The scaled matrix.

Remarks

The Multiply method defines the operation of the multiplication operator for Matrix4x4 objects.

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