Bewerken

Delen via


Matrix4x4.Subtract(Matrix4x4, Matrix4x4) Method

Definition

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

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

Applies to