Struct BuildTilesSettings

Public

Settings for building tile meshes in a recast graph.

See

RecastGraph for more documentation on the individual fields.

RecastBuilder

Inner Types

Public Methods

BuildTilesSettings (graph)
Public
CollectMeshes ()
Public
GetTileBoundsInGraphSpace (x, z, width=1, depth=1)

Returns an XZ bounds object with the bounds of a group of tiles in graph space.

Public
GetTouchingTiles (bounds, margin=0)

Returns a rect containing the indices of all tiles touching the specified bounds.

Public
PutMeshesIntoTileBuckets (meshCollection, tileBuckets)

Creates a list for every tile and adds every mesh that touches a tile to the corresponding list.

Public
Schedule (arena)
Public
SetWorldSpaceBounds (bounds, rotation)
Public

Public Variables

CellHeight

Voxel y coordinates will be stored as ushorts which have 65536 values.

Public
TileBorderSizeInVoxels

Number of extra voxels on each side of a tile to ensure accurate navmeshes near the tile border.

Public
TileBorderSizeInWorldUnits
Public
TileWorldSizeX
Public
TileWorldSizeZ
Public
boundsYSize

Size of bounds along the y axis in graph space (i.e.

Public
cellSize
Public
characterRadiusInVoxels
Public
colliderRasterizeDetail
Public
contourMaxError
Public
mask
Public
maxEdgeLength
Public
maxSlope
Public
minRegionSize
Public
rasterizeColliders
Public
rasterizeMeshes
Public
rasterizeTerrain
Public
rasterizeTrees
Public
relevantGraphSurfaceMode
Public
scene
Public
tagMask
Public
terrainSampleSize
Public
tileBorderSizeInVoxels
Public
tileRect
Public
tileSizeX
Public
tileSizeZ
Public
transform
Public
walkableClimb
Public
walkableHeight
Public