operator ~(int2)
Returns the result of a componentwise bitwise not operation on an int2 vector.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static int2 operator ~(int2 val)
Parameters
Value to use when computing the componentwise bitwise not.
Returns
Type | Description |
|---|---|
| int2 | int2 result of the componentwise bitwise not. |