Function JobConnectTiles.ScheduleRecalculateBorders
ScheduleRecalculateBorders
(System.Runtime.InteropServices.GCHandle tilesHandle, JobHandle dependency, IntRect tileRect, IntRect innerRect, Vector2 tileWorldSize, float maxTileConnectionEdgeDistance)
Schedule jobs to connect all the given tiles inside innerRect with tiles that are outside it, while exploiting as much parallelism as possible.
Public
Static
JobHandle ScheduleRecalculateBorders (
tilesHandle | ||
JobHandle | dependency | |
tileRect | ||
innerRect | ||
tileWorldSize | ||
float | maxTileConnectionEdgeDistance |
Schedule jobs to connect all the given tiles inside innerRect with tiles that are outside it, while exploiting as much parallelism as possible.
tilesHandle should be a GCHandle referring to a NavmeshTile[] array of size tileRect.Width*tileRect.Height.