/// <summary>
 /// Generates a hash suitable for use with containers like <c>HashSet</c> and <c>Dictionary</c>.
 /// </summary>
 /// <returns>A hash suitable for use with containers like <c>HashSet</c> and <c>Dictionary</c>.</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = m_TrackableId.GetHashCode();
         hash = hash * 486187739 + m_Pose.GetHashCode();
         hash = hash * 486187739 + ((int)m_TrackingState).GetHashCode();
         hash = hash * 486187739 + m_NativePtr.GetHashCode();
         return(hash);
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     return(m_TrackableId.GetHashCode());
 }