/// <summary> /// Tests for equality. /// </summary> /// <param name="other">The other <see cref="XRParticipant"/> to compare against.</param> /// <returns><c>true</c> if <paramref name="other"/> is equal to this <see cref="XRParticipant"/>.</returns> public bool Equals(XRParticipant other) { return (m_TrackableId.Equals(other.m_TrackableId) && m_Pose.Equals(other.m_Pose) && (m_TrackingState == other.m_TrackingState) && (m_NativePtr == other.m_NativePtr)); }
public bool Equals(XREnvironmentProbe other) { // Environment probes are equivalent if the trackable IDs match. return(m_TrackableId.Equals(other.m_TrackableId)); }
public bool Equals(XRHumanBody other) { return(m_TrackableId.Equals(other.m_TrackableId)); }