Class NavmeshTile Extends INavmeshHolder

Public

A single tile in a recast or navmesh graph.

A tile is a single rectangular (but usually square) part of the graph. Tiles can be updated individually, which is great for large worlds where updating the whole graph would take a long time.

Public Methods

Dispose ()
GetNodes (action)
GetTileCoordinates (tileIndex, x, z)

Transforms coordinates from graph space to world space.

GetVertex (index)

Get a specific vertex in the tile.

Position of vertex number i in coordinates local to the graph.

Public Variables

bbTree

Bounding Box Tree for node lookups.

Public
d

Depth, in tile coordinates.

Public
flag

Temporary flag used for batching.

Public
graph

The graph which contains this tile.

Public
isCut

True if this tile may have been cut by NavmeshCuts, or had pieces added by NavmeshAdd components.

Public
nodes

All nodes in the tile.

Public
preCutTags
Public
preCutTris
Public
preCutVertsInTileSpace
Public
transform

Transforms coordinates from graph space to world space.

Public
tris

All triangle indices in the tile.

Public
verts

All vertices in the tile.

Public
vertsInGraphSpace

All vertices in the tile.

Public
w

Width, in tile coordinates.

Public
x

Tile X Coordinate.

Public
z

Tile Z Coordinate.

Public