Edit

Share via


Matrix4x4.Subtraction(Matrix4x4, Matrix4x4) Operator

Definition

Subtracts each element in a second matrix from its corresponding element in a first matrix.

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 matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1.

Remarks

The Subtraction method defines the operation of the subtraction operator for Matrix4x4 objects.

Applies to

Product Versions
.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