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);
public static System.Numerics.Matrix4x4 operator - (System.Numerics.Matrix4x4 value1, System.Numerics.Matrix4x4 value2);
static member ( - ) : System.Numerics.Matrix4x4 * System.Numerics.Matrix4x4 -> System.Numerics.Matrix4x4
Public Shared Operator - (value1 As Matrix4x4, value2 As Matrix4x4) As Matrix4x4

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