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 ()
Public
GetNodes (action)
Public
GetTileCoordinates (tileIndex, x, z)

Transforms coordinates from graph space to world space.

Public
GetVertex (index)

Get a specific vertex in the tile.

Public
GetVertexArrayIndex (index)
Public
GetVertexInGraphSpace (i)

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

Public

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
nodes

All nodes in the tile.

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