Struct JobConnectTiles Extends IJob
Public
Connects two adjacent tiles together.
This only creates connections between tiles. Connections internal to a tile should be handled by JobCalculateTriangleConnections.
Use the ScheduleBatch method to connect a bunch of tiles efficiently using maximum parallelism.
Public Methods
Execute
()
Public
Public Static Methods
ScheduleBatch
(tilesHandle, dependency, tileRect, tileWorldSize, maxTileConnectionEdgeDistance)
Schedule jobs to connect all the given tiles with each other while exploiting as much parallelism as possible.
Public
Static
Public Variables
maxTileConnectionEdgeDistance
Maximum vertical distance between two tiles to create a connection between them.
Public
tileWorldSizeX
Size of a tile in world units along the graph's X axis.
Public
tileWorldSizeZ
Size of a tile in world units along the graph's Z axis.
Public