Adds a tile to the NavMesh.
the nav mesh data
the flags to use when building the nav mesh
the status of the operation and the reference of the added tile
Calculates the tile grid location for the specified world position.
The world position for the query. [(x, y, z)]
Decodes a standard polygon reference.
The polygon reference to decode
the decoded polygon reference
Derives a standard polygon reference.
The tile's salt value.
The index of the tile. it
in the C++ api.
The index of the polygon within the tile. ip
in the C++ api.
the derived polygon reference
Gets the specified off-mesh connection.
The polygon reference of the off-mesh connection.
Gets the endpoints for an off-mesh connection, ordered by "direction of travel".
The reference of the polygon before the connection.
The reference of the off-mesh connection polygon.
Gets the polygon reference for the tile's base polygon.
Gets the tile at the specified index.
the tile index. [Limit: 0 >= index < #getMaxTiles()]
Gets the tile and polygon for the specified polygon reference.
The reference for the a polygon.
Gets the tile and polygon for the specified polygon reference.
A known valid reference for a polygon.
Gets the tile at the specified grid location.
The tile's x-location. (x, y, layer)
The tile's y-location. (x, y, layer)
The tile's layer. (x, y, layer)
The tile, or null if the tile does not exist.
Gets the tile for the specified tile reference.
The tile reference of the tile to retrieve.
The tile for the specified reference, or null if the reference is invalid.
Gets the tile reference for the specified tile.
Gets the tile reference for the tile at specified grid location.
The tile's x-location. (x, y, layer)
The tile's y-location. (x, y, layer)
The tile's layer. (x, y, layer)
The tile reference of the tile, or 0 if there is none.
Gets the size of the buffer required by #storeTileState to store the specified tile's state.
The size of the buffer required to store the state.
Gets all tiles at the specified grid location. (All layers.)
The tile's x-location. (x, y)
The tile's y-location. (x, y)
The maximum tiles the tiles parameter can hold.
Initializes the NavMesh for use with a single tile.
the nav mesh data
the status of the operation
Initializes the NavMesh for use with multiple tiles.
parameters for the NavMesh
the status of the operation
Removes a tile from the NavMesh
the tile ref
the nav mesh data, so it can be added back later
Restores the state of the tile.
The tile.
The new state. (Obtained from
The size of the state within the data buffer.
storeTileState)
Stores the non-structural state of the tile in the specified buffer. (Flags, area ids, etc.)
The tile.
The size of the data buffer. [Limit: >= #getTileStateSize]
Constructs a new NavMesh