Represents the result of a 2D pathfinding query.
This class stores the result of a 2D navigation path query from the NavigationServer2D.
The resulting path array from the navigation query. All path array positions are in global coordinates. Without customized query parameters this is the same path as returned by NavigationServer2D.map_get_path().
The ObjectIDs of the Objects which manage the regions and links each point of the path goes through.
The RIDs of the regions and links that each point of the path goes through.
Reset the result object to its initial state. This is useful to reuse the object across multiple queries.