Equals
Returns true if the components of this quaternion4 equal those of another quaternion4.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
Equals(quaternion4)
Returns true if the components of this quaternion4 equal those of another quaternion4.
public bool Equals(quaternion4 q)
Parameters
The quaternion4 to compare with this one.
Returns
Type | Description |
|---|---|
| bool | |
Remarks
The comparison is exact. It doesn't use a tolerance, and it doesn't treat and its negation as the same rotation.
qEquals(Object)
Determines whether this quaternion4 equals another object.
[ExcludeFromBurstCompatTesting("Takes managed object")]public override bool Equals(object o)
Parameters
The object to compare with this one.
Returns
Type | Description |
|---|---|
| bool | |