/// <summary> /// Generates a hash suitable for use with containers like `HashSet` and `Dictionary`. /// </summary> /// <returns>A hash code generated from this object's fields.</returns> public override int GetHashCode() => HashCodeUtil.Combine( m_Hit.GetHashCode(), distance.GetHashCode(), HashCodeUtil.ReferenceHash(m_Transform), HashCodeUtil.ReferenceHash(trackable));
/// <summary> /// Generates a hash suitable for use with containers like `HashSet` and `Dictionary`. /// </summary> /// <returns>A hash code generated from this object's fields.</returns> public override int GetHashCode() => HashCodeUtil.Combine( HashCodeUtil.ReferenceHash(added), HashCodeUtil.ReferenceHash(updated), HashCodeUtil.ReferenceHash(removed));
/// <summary> /// Generates a hash code suitable for using in a `HashSet` or `Dictionary`. /// </summary> /// <returns>Returns a hash code suitable for using in a `HashSet` or `Dictionary`.</returns> public override int GetHashCode() => HashCodeUtil.Combine( HashCodeUtil.ReferenceHash(sessionOrigin), HashCodeUtil.ReferenceHash(trackablesParent));
/// <summary> /// Generates a hash suitable for use with containers like `HashSet` and `Dictionary`. /// </summary> /// <returns>A hash code generated from this object's fields.</returns> public override int GetHashCode() => HashCodeUtil.Combine( HashCodeUtil.ReferenceHash(textures), HashCodeUtil.ReferenceHash(propertyNameIds), HashCodeUtil.ReferenceHash(enabledMaterialKeywords), HashCodeUtil.ReferenceHash(disabledMaterialKeywords));