/// <summary> /// Returns the node index in the tree. /// <returns>The node index; if the tree is null returns -1.</returns> /// </summary> public int GetIndex() { return(m_Owner != null?m_Owner.GetIndex(this) : -1); }