Operator Subtraction
Subtraction(TransformationMatrix, TransformationMatrix)
Subtracts the second transformations from the first and returns the result.
Declaration
public static TransformationMatrix operator -(TransformationMatrix matrix1, TransformationMatrix matrix2)
Parameters
| Type | Name | Description |
|---|---|---|
| TransformationMatrix | matrix1 | First matrix |
| TransformationMatrix | matrix2 | Second matrix |
Returns
| Type | Description |
|---|---|
| TransformationMatrix | A new instance of TransformationMatrix representing
the result of subtracting |
Remarks
Quaternion "subtraction" is done by multiplying matrix1 by the inverse of matrix2.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.6 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.6 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.6 - 100.15 |
| Xamarin.iOS | 100.6 - 100.15 |
| UWP | 100.6 - 100.15 |