Equals
Returns true if the half is bitwise equivalent to a given half, false otherwise.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
Equals(half)
Returns true if the half is bitwise equivalent to a given half, false otherwise.
public bool Equals(half rhs)
Parameters
Right hand side half value to use in comparison.
Returns
Type | Description |
|---|---|
| bool | True if the half value is bitwise equivalent to the input, false otherwise. |
Equals(Object)
Returns true if the half is equal to a given half, false otherwise.
public override bool Equals(object o)
Parameters
Right hand side object to use in comparison.
Returns
Type | Description |
|---|---|
| bool | True if the object is of type half and is bitwise equivalent, false otherwise. |