Constructors
constructor
- new DebugDrawerUtils(): DebugDrawerUtils
Methods
dispose
- dispose(): void
Returns void
drawCompactHeightfieldDistance
- drawCompactHeightfieldDistance(chf): DebugDrawerPrimitive[]
drawCompactHeightfieldRegions
- drawCompactHeightfieldRegions(chf): DebugDrawerPrimitive[]
drawCompactHeightfieldSolid
- drawCompactHeightfieldSolid(chf): DebugDrawerPrimitive[]
drawContours
- drawContours(cset, alpha?): DebugDrawerPrimitive[]
drawHeightfieldLayer
- drawHeightfieldLayer(layer, idx): DebugDrawerPrimitive[]
drawHeightfieldLayers
- drawHeightfieldLayers(lset): DebugDrawerPrimitive[]
drawHeightfieldSolid
- drawHeightfieldSolid(hf): DebugDrawerPrimitive[]
drawHeightfieldWalkable
- drawHeightfieldWalkable(hf): DebugDrawerPrimitive[]
drawNavMesh
- drawNavMesh(mesh, flags?): DebugDrawerPrimitive[]
Parameters
- mesh: NavMesh
Optional
flags: number
drawNavMeshBVTree
- drawNavMeshBVTree(mesh): DebugDrawerPrimitive[]
drawNavMeshNodes
- drawNavMeshNodes(query): DebugDrawerPrimitive[]
drawNavMeshPoly
- drawNavMeshPoly(mesh, ref, col): DebugDrawerPrimitive[]
Parameters
- mesh: NavMesh
- ref: number
- col: number
drawNavMeshPolysWithFlags
- drawNavMeshPolysWithFlags(mesh, flags, col): DebugDrawerPrimitive[]
Parameters
- mesh: NavMesh
- flags: number
- col: number
drawNavMeshPortals
- drawNavMeshPortals(mesh): DebugDrawerPrimitive[]
drawNavMeshWithClosedList
- drawNavMeshWithClosedList(mesh, query, flags?): DebugDrawerPrimitive[]
drawPolyMesh
- drawPolyMesh(mesh): DebugDrawerPrimitive[]
drawPolyMeshDetail
- drawPolyMeshDetail(dmesh): DebugDrawerPrimitive[]
drawRawContours
- drawRawContours(cset, alpha?): DebugDrawerPrimitive[]
drawRegionConnections
- drawRegionConnections(cset, alpha?): DebugDrawerPrimitive[]
Represents a helper class to visualize navigation cur and related data in PlayCanvas.