operator &
Returns the result of a componentwise bitwise and operation on two uint2 vectors.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
operator &(uint2, uint2)
Returns the result of a componentwise bitwise and operation on two uint2 vectors.
public static uint2 operator &(uint2 lhs, uint2 rhs)
Parameters
Returns
Type | Description |
|---|---|
| uint2 | uint2 result of the componentwise bitwise and. |
operator &(uint2, uint)
Returns the result of a componentwise bitwise and 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 bitwise and. |
operator &(uint, uint2)
Returns the result of a componentwise bitwise and 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 bitwise and. |