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