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