Class TileHandler
Public
Utility class for updating tiles of navmesh/recast graphs.
Most operations that this class does are asynchronous. They will be added as work items to the AstarPath class and executed when the pathfinding threads have finished calculating their current paths.
Inner Types
Public Static Variables
Private/Protected Members
ClipAgainstRectangle
(clipIn, clipTmp, size)
Clips the input polygon against a rectangle with one corner at the origin and one at size in XZ space.
CollectCuts
(cuts, tileCoordinates, characterRadius, tileLayout, tileVertices, tileTriangles, tileTags)
CopyTriangulationToOutput
(triangulatorOutput, tileOutputVertices, tileOutputTriangles, tileOutputTags, tag, a, b, c)
CopyTriangulationToOutputMarker
Private
Static
Readonly
CutFunction
(subject, contourVertices, contours, contourIndices, contourIndicesDual, outputVertices, outputVertexCountPerPolygon, dual)
CutFunctionPtr
Private
Static
Readonly
CutPolygon
(subject, contourVertices, contours, contourIndices, contourIndicesDual, outputVertices, outputVertexCountPerPolygon, mode)
DelegateGCRoot
Private
Static
FindIntersectingCuts
(contoursMeta, cutBounds, interestingCuts, interestingDualCuts, triBounds, addedGeometry)
MarkerAllocate
Private
Static
Readonly
MarkerClipping
Private
Static
Readonly
MarkerCompress
Private
Static
Readonly
MarkerCopyClippingResult
Private
Static
Readonly
MarkerCore
Private
Static
Readonly
MarkerEdgeSnapping
Private
Static
Readonly
MarkerPrepare
Private
Static
Readonly
MarkerRefine
Private
Static
Readonly
MarkerTriangulate
Private
Static
Readonly
SnapEdges
(triBuffer, vertexCount, contours, interestingCuts, contourVerticesP64, tileSize)
Find cut vertices that lie exactly on the polygon edges, and insert them into the polygon.