Constructors
constructor
- new TileCache(): RawModule.TileCache
Methods
addBoxObstacle
- addBoxObstacle(position, extent, angle): TileCacheAddObstacleResult
Parameters
position: Vec3
angle: number
addCylinderObstacle
- addCylinderObstacle(position, radius, height): TileCacheAddObstacleResult
Parameters
position: Vec3
radius: number
height: number
buildNavMeshTile
- buildNavMeshTile(ref, navMesh): number
Returns number
buildNavMeshTilesAt
- buildNavMeshTilesAt(tx, ty, navMesh): number
Returns number
destroy
- destroy(): void
Returns void
init
- init(params, allocator, compressor, meshProcess): boolean
Returns boolean
removeObstacle
- removeObstacle(obstacle): number
Returns number