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
CutFunctionPtr
Private
Static
Readonly
DelegateGCRoot
Private
Static
MarkerAllocate
Private
Static
Readonly
MarkerClipHorizontal
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
MarkerRemoveDegenerateLines
Private
Static
Readonly
MarkerRemoveDegenerateTriangles
Private
Static
Readonly
MarkerTriangulate
Private
Static
Readonly
Scale
Scale all coordinates by this value to make intersection calculations more accurate, while clipping.
Private
Static
SnapEdges
(triBuffer, vertexCount, contours, interestingCuts, contourVerticesP64, tileSize)
Find cut vertices that lie exactly on the polygon edges, and insert them into the polygon.