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