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