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