UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RecastDebugDraw.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2// Modified version of Recast/Detour's source file
3
4//
5// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
6//
7// This software is provided 'as-is', without any express or implied
8// warranty. In no event will the authors be held liable for any damages
9// arising from the use of this software.
10// Permission is granted to anyone to use this software for any purpose,
11// including commercial applications, and to alter it and redistribute it
12// freely, subject to the following restrictions:
13// 1. The origin of this software must not be misrepresented; you must not
14// claim that you wrote the original software. If you use this software
15// in a product, an acknowledgment in the product documentation would be
16// appreciated but is not required.
17// 2. Altered source versions must be plainly marked as such, and must not be
18// misrepresented as being the original software.
19// 3. This notice may not be removed or altered from any source distribution.
20//
21
22#ifndef RECAST_DEBUGDRAW_H
23#define RECAST_DEBUGDRAW_H
24
25#include "CoreMinimal.h"
27
28struct duDebugDraw;
29struct rcHeightfield;
30
31NAVMESH_API void duDebugDrawTriMesh(struct duDebugDraw* dd, const duReal* verts, int nverts, const int* tris, const duReal* normals, int ntris, const unsigned char* flags, const duReal texScale);
32NAVMESH_API void duDebugDrawTriMeshSlope(struct duDebugDraw* dd, const duReal* verts, int nverts, const int* tris, const duReal* normals, int ntris, const duReal walkableSlopeAngle, const duReal texScale);
33
37
41
42NAVMESH_API void duDebugDrawHeightfieldLayer(duDebugDraw* dd, const struct rcHeightfieldLayer& layer, const int idx);
45
48
49NAVMESH_API void duDebugDrawRegionConnections(struct duDebugDraw* dd, const struct rcContourSet& cset, const float alpha = 1.0f);
50NAVMESH_API void duDebugDrawRawContours(struct duDebugDraw* dd, const struct rcContourSet& cset, const float alpha = 1.0f);
51NAVMESH_API void duDebugDrawContours(struct duDebugDraw* dd, const struct rcContourSet& cset, const float alpha = 1.0f);
52NAVMESH_API void duDebugDrawPolyMesh(struct duDebugDraw* dd, const struct rcPolyMesh& mesh);
54
55#endif // RECAST_DEBUGDRAW_H
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
double duReal
Definition DebugDrawLargeWorldCoordinates.h:13
NAVMESH_API void duDebugDrawCompactHeightfieldRegions(struct duDebugDraw *dd, const struct rcCompactHeightfield &chf)
NAVMESH_API void duDebugDrawHeightfieldBounds(duDebugDraw *dd, const rcHeightfield &hf)
Definition RecastDebugDraw.cpp:214
NAVMESH_API void duDebugDrawHeightfieldLayersRegions(duDebugDraw *dd, const struct rcHeightfieldLayerSet &lset)
NAVMESH_API void duDebugDrawPolyMeshDetail(struct duDebugDraw *dd, const struct rcPolyMeshDetail &dmesh)
Definition RecastDebugDraw.cpp:996
NAVMESH_API void duDebugDrawHeightfieldWalkable(duDebugDraw *dd, const rcHeightfield &hf)
Definition RecastDebugDraw.cpp:173
NAVMESH_API void duDebugDrawContours(struct duDebugDraw *dd, const struct rcContourSet &cset, const float alpha=1.0f)
NAVMESH_API void duDebugDrawTriMesh(struct duDebugDraw *dd, const duReal *verts, int nverts, const int *tris, const duReal *normals, int ntris, const unsigned char *flags, const duReal texScale)
Definition RecastDebugDraw.cpp:27
NAVMESH_API void duDebugDrawRegionConnections(struct duDebugDraw *dd, const struct rcContourSet &cset, const float alpha=1.0f)
NAVMESH_API void duDebugDrawCompactHeightfieldSolid(struct duDebugDraw *dd, const struct rcCompactHeightfield &chf)
NAVMESH_API void duDebugDrawCompactHeightfieldDistance(struct duDebugDraw *dd, const struct rcCompactHeightfield &chf)
NAVMESH_API void duDebugDrawRawContours(struct duDebugDraw *dd, const struct rcContourSet &cset, const float alpha=1.0f)
NAVMESH_API void duDebugDrawHeightfieldSolid(duDebugDraw *dd, const rcHeightfield &hf)
Definition RecastDebugDraw.cpp:140
NAVMESH_API void duDebugDrawHeightfieldLayers(duDebugDraw *dd, const struct rcHeightfieldLayerSet &lset)
Definition RecastDebugDraw.cpp:454
NAVMESH_API void duDebugDrawPolyMesh(struct duDebugDraw *dd, const struct rcPolyMesh &mesh)
Definition RecastDebugDraw.cpp:888
NAVMESH_API void duDebugDrawLayerContours(duDebugDraw *dd, const struct rcLayerContourSet &lcset)
NAVMESH_API void duDebugDrawHeightfieldLayer(duDebugDraw *dd, const struct rcHeightfieldLayer &layer, const int idx)
Definition RecastDebugDraw.cpp:400
NAVMESH_API void duDebugDrawLayerPolyMesh(duDebugDraw *dd, const struct rcLayerPolyMesh &lmesh)
NAVMESH_API void duDebugDrawTriMeshSlope(struct duDebugDraw *dd, const duReal *verts, int nverts, const int *tris, const duReal *normals, int ntris, const duReal walkableSlopeAngle, const duReal texScale)
Definition RecastDebugDraw.cpp:82
Abstract debug draw interface.
Definition DebugDraw.h:81
Definition Recast.h:447
Definition Recast.h:510
Definition Recast.h:491
Definition Recast.h:469
Definition Recast.h:408
Definition Recast.h:560
Definition Recast.h:539