Function generateTileCache generate Tile Cache ( positions , indices , navMeshGeneratorConfig ? , keepIntermediates ? ) : TileCacheGeneratorResult Parameters positions : ArrayLike < number > indices : ArrayLike < number > Optional
navMeshGeneratorConfig : Partial < { borderSize : number ; bounds ?: [ bbMin: Vector3Tuple , bbMax: Vector3Tuple ] ; ch : number ; cs : number ; detailSampleDist : number ; detailSampleMaxError : number ; expectedLayersPerTile : number ; maxObstacles : number ; maxSimplificationError : number ; maxVertsPerPoly : number ; mergeRegionArea : number ; tileCacheMeshProcess ?: TileCacheMeshProcess ; tileSize : number ; walkableClimb : number ; walkableHeight : number ; walkableRadius : number ; walkableSlopeAngle : number ; } > Optional
keepIntermediates : boolean Defined in recast-navigation-generators/dist/generators/generate-tile-cache.d.ts:62
Builds a TileCache and NavMesh from the given positions and indices. TileCache assumes small tiles (around 32-64 squared) and does some tricks to make the update fast.