operator -
Returns the result of a componentwise subtraction operation on two int2x2 matrices.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
operator -(int2x2, int2x2)
Returns the result of a componentwise subtraction operation on two int2x2 matrices.
public static int2x2 operator -(int2x2 lhs, int2x2 rhs)
Parameters
Returns
Type | Description |
|---|---|
| int2x2 | int2x2 result of the componentwise subtraction. |
operator -(int2x2, int)
Returns the result of a componentwise subtraction operation on an int2x2 matrix and an int value.
public static int2x2 operator -(int2x2 lhs, int rhs)
Parameters
Returns
Type | Description |
|---|---|
| int2x2 | int2x2 result of the componentwise subtraction. |
operator -(int, int2x2)
Returns the result of a componentwise subtraction operation on an int value and an int2x2 matrix.
public static int2x2 operator -(int lhs, int2x2 rhs)
Parameters
Returns
Type | Description |
|---|---|
| int2x2 | int2x2 result of the componentwise subtraction. |