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, tileRect)
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

TileBorderSizeInVoxels

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

Public
TileBorderSizeInWorldUnits
Public
boundsGraphSpace
Public
cellHeight
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
tileWorldSizeX
Public
tileWorldSizeZ
Public
transform
Public
walkableClimb
Public
walkableHeight
Public