Struct JobCreateTiles Extends IJob
Builds tiles optimized for pathfinding, from a list of TileMesh.TileMeshUnsafe.
This job takes the following steps:
Transform all vertices using the graphToWorldSpace matrix.
Remove duplicate vertices
If recalculateNormals is enabled: ensure all triangles are laid out in the clockwise direction.
Public Methods
Public Variables
Graph index of the graph that these nodes will be added to.
Number of tiles in the graph.
Matrix to convert from graph space to world space.
Initial penalty for all nodes in the tile.
An array of TileMesh.TileMeshUnsafe of length tileRect.Width*tileRect.Height, or an uninitialized array.
If true, all triangles will be guaranteed to be laid out in clockwise order.
Rectangle of tiles that we are processing.
Size of a tile in world units along the graph's X and Z axes.