class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCounted NavigationPathQueryResult2D
Represents the result of a 2D pathfinding query.

This class stores the result of a 2D navigation path query from the NavigationServer2D.

Enum PathSegmentType<>():Enum

PATH_SEGMENT_TYPE_REGION = 0

This segment of the path goes through a region.


This segment of the path goes through a link.

PackedVector2Array path<>():PackedVector2Array

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.

PackedInt64Array path_owner_ids<>():PackedInt64Array

The ObjectIDs 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.

Array path_rids<>():Array

The RIDs of the regions and links that each point of the path goes through.

PackedInt32Array path_types<>():PackedInt32Array

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.

void reset<>():void

Reset the result object to its initial state. This is useful to reuse the object across multiple queries.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...