/// <summary> /// Gets the estimated closest node index to a given position (Uses the quadtree, faster but may not be accurate) /// </summary> /// <param name="pos">The position to test against</param> public int ClosestNodeIndexTo(Vector2 pos) { return(NodeNodeIndexQuadTree.ClosestIndexTo(pos)); }