This class stores the result of a 2D navigation path query from the NavigationServer2D.
This segment of the path goes through a region.
This segment of the path goes through a link.
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().
Note: The returned array is copied and any changes to it will not update the original property value. See PackedVector2Array for more details.
The ObjectID
s of the Objects which manage the regions and links each point of the path goes through.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt64Array for more details.
The RIDs of the regions and links that each point of the path goes through.
The type of navigation primitive (region or link) that each point of the path goes through.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.
Reset the result object to its initial state. This is useful to reuse the object across multiple queries.