Navigation
API > API/Runtime > API/Runtime/Navmesh
Recast performance timer categories.
| Name | rcTimerLabel |
| Type | enum |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
Syntax
enum rcTimerLabel
{
RC_TIMER_TOTAL,
RC_TIMER_TEMP,
RC_TIMER_RASTERIZE_TRIANGLES,
RC_TIMER_BUILD_COMPACTHEIGHTFIELD,
RC_TIMER_BUILD_CONTOURS,
RC_TIMER_BUILD_CONTOURS_TRACE,
RC_TIMER_BUILD_CONTOURS_SIMPLIFY,
RC_TIMER_BUILD_CLUSTERS,
RC_TIMER_FILTER_BORDER,
RC_TIMER_FILTER_WALKABLE,
RC_TIMER_MEDIAN_AREA,
RC_TIMER_FILTER_LOW_OBSTACLES,
RC_TIMER_BUILD_POLYMESH,
RC_TIMER_MERGE_POLYMESH,
RC_TIMER_ERODE_AREA,
RC_TIMER_MARK_BOX_AREA,
RC_TIMER_MARK_CYLINDER_AREA,
RC_TIMER_MARK_CONVEXPOLY_AREA,
RC_TIMER_BUILD_DISTANCEFIELD,
RC_TIMER_BUILD_DISTANCEFIELD_DIST,
RC_TIMER_BUILD_DISTANCEFIELD_BLUR,
RC_TIMER_BUILD_REGIONS,
RC_TIMER_BUILD_REGIONS_WATERSHED,
RC_TIMER_BUILD_REGIONS_EXPAND,
RC_TIMER_BUILD_REGIONS_FLOOD,
RC_TIMER_BUILD_REGIONS_FILTER,
RC_TIMER_BUILD_LAYERS,
RC_TIMER_BUILD_POLYMESHDETAIL,
RC_TIMER_MERGE_POLYMESHDETAIL,
RC_MAX_TIMERS,
}
Values
| Name | Remarks |
|---|---|
| RC_TIMER_TOTAL | The user defined total time of the build. |
| RC_TIMER_TEMP | A user defined build time. |
| RC_TIMER_RASTERIZE_TRIANGLES | The time to rasterize the triangles. (See: rcRasterizeTriangle) |
| RC_TIMER_BUILD_COMPACTHEIGHTFIELD | The time to build the compact heightfield. (See: rcBuildCompactHeightfield) |
| RC_TIMER_BUILD_CONTOURS | The total time to build the contours. (See: rcBuildContours) |
| RC_TIMER_BUILD_CONTOURS_TRACE | The time to trace the boundaries of the contours. (See: rcBuildContours) |
| RC_TIMER_BUILD_CONTOURS_SIMPLIFY | The time to simplify the contours. (See: rcBuildContours) |
| RC_TIMER_BUILD_CLUSTERS | The time to link clusters from contours. (See: #rcBuildClusters) |
| RC_TIMER_FILTER_BORDER | The time to filter ledge spans. (See: rcFilterLedgeSpans) |
| RC_TIMER_FILTER_WALKABLE | The time to filter low height spans. (See: rcFilterWalkableLowHeightSpans) |
| RC_TIMER_MEDIAN_AREA | The time to apply the median filter. (See: rcMedianFilterWalkableArea) |
| RC_TIMER_FILTER_LOW_OBSTACLES | The time to filter low obstacles. (See: rcFilterLowHangingWalkableObstacles) |
| RC_TIMER_BUILD_POLYMESH | The time to build the polygon mesh. (See: rcBuildPolyMesh) |
| RC_TIMER_MERGE_POLYMESH | The time to merge polygon meshes. (See: rcMergePolyMeshes) |
| RC_TIMER_ERODE_AREA | The time to erode the walkable area. (See: rcErodeWalkableArea) |
| RC_TIMER_MARK_BOX_AREA | The time to mark a box area. (See: rcMarkBoxArea) |
| RC_TIMER_MARK_CYLINDER_AREA | The time to mark a cylinder area. (See: rcMarkCylinderArea) |
| RC_TIMER_MARK_CONVEXPOLY_AREA | The time to mark a convex polygon area. (See: rcMarkConvexPolyArea) |
| RC_TIMER_BUILD_DISTANCEFIELD | The total time to build the distance field. (See: rcBuildDistanceField) |
| RC_TIMER_BUILD_DISTANCEFIELD_DIST | The time to build the distances of the distance field. (See: rcBuildDistanceField) |
| RC_TIMER_BUILD_DISTANCEFIELD_BLUR | The time to blur the distance field. (See: rcBuildDistanceField) |
| RC_TIMER_BUILD_REGIONS | The total time to build the regions. (See: rcBuildRegions, rcBuildRegionsMonotone) |
| RC_TIMER_BUILD_REGIONS_WATERSHED | The total time to apply the watershed algorithm. (See: rcBuildRegions) |
| RC_TIMER_BUILD_REGIONS_EXPAND | The time to expand regions while applying the watershed algorithm. (See: rcBuildRegions) |
| RC_TIMER_BUILD_REGIONS_FLOOD | The time to flood regions while applying the watershed algorithm. (See: rcBuildRegions) |
| RC_TIMER_BUILD_REGIONS_FILTER | The time to filter out small regions. (See: rcBuildRegions, rcBuildRegionsMonotone) |
| RC_TIMER_BUILD_LAYERS | The time to build heightfield layers. (See: rcBuildHeightfieldLayers) |
| RC_TIMER_BUILD_POLYMESHDETAIL | The time to build the polygon mesh detail. (See: rcBuildPolyMeshDetail) |
| RC_TIMER_MERGE_POLYMESHDETAIL | The time to merge polygon mesh details. (See: rcMergePolyMeshDetails) |
| RC_MAX_TIMERS | The maximum number of timers. (Used for iterating timers.) |