UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
duDebugDraw Struct Referenceabstract

Abstract debug draw interface. More...

#include <DebugDraw.h>

+ Inheritance diagram for duDebugDraw:

Public Member Functions

virtual NAVMESH_API ~duDebugDraw ()=0
 
virtual void depthMask (bool state)=0
 
virtual void texture (bool state)=0
 
virtual void begin (duDebugDrawPrimitives prim, float size=1.0f)=0
 
virtual void vertex (const duReal *pos, unsigned int color)=0
 
virtual void vertex (const float *pos, unsigned int color) final
 
virtual void vertex (const duReal x, const duReal y, const duReal z, unsigned int color)=0
 
virtual void vertex (const float x, const float y, const float z, unsigned int color) final
 
virtual void vertex (const duReal *pos, unsigned int color, const duReal *uv)=0
 
virtual void vertex (const float *pos, unsigned int color, const float *uv) final
 
virtual void vertex (const duReal x, const duReal y, const duReal z, unsigned int color, const duReal u, const duReal v)=0
 
virtual void vertex (const float x, const float y, const float z, unsigned int color, const float u, const float v) final
 
virtual void text (const duReal x, const duReal y, const duReal z, const char *text)=0
 
virtual void text (const float x, const float y, const float z, const char *text) final
 
virtual void end ()=0
 End drawing primitives.
 

Detailed Description

Abstract debug draw interface.

Constructor & Destructor Documentation

◆ ~duDebugDraw()

duDebugDraw::~duDebugDraw ( )
pure virtual

Member Function Documentation

◆ begin()

virtual void duDebugDraw::begin ( duDebugDrawPrimitives  prim,
float  size = 1.0f 
)
pure virtual

Begin drawing primitives.

Parameters
prim[in] primitive type to draw, one of rcDebugDrawPrimitives.
size[in] size of a primitive, applies to point size and line width only.

Implemented in duDisplayList.

◆ depthMask()

virtual void duDebugDraw::depthMask ( bool  state)
pure virtual

Implemented in duDisplayList.

◆ end()

virtual void duDebugDraw::end ( )
pure virtual

End drawing primitives.

Implemented in duDisplayList.

◆ text() [1/2]

virtual void duDebugDraw::text ( const duReal  x,
const duReal  y,
const duReal  z,
const char text 
)
pure virtual

Submit a text label

Parameters
x,y,z[in] 3D position of the text.
text[in] text to display.

◆ text() [2/2]

virtual void duDebugDraw::text ( const float  x,
const float  y,
const float  z,
const char text 
)
inlinefinalvirtual

◆ texture()

virtual void duDebugDraw::texture ( bool  state)
pure virtual

◆ vertex() [1/8]

virtual void duDebugDraw::vertex ( const duReal pos,
unsigned int  color 
)
pure virtual

Submit a vertex

Parameters
pos[in] position of the verts.
color[in] color of the verts.

Implemented in duDisplayList.

◆ vertex() [2/8]

virtual void duDebugDraw::vertex ( const duReal pos,
unsigned int  color,
const duReal uv 
)
pure virtual

Submit a vertex

Parameters
pos[in] position of the verts.
color[in] color of the verts.

◆ vertex() [3/8]

virtual void duDebugDraw::vertex ( const duReal  x,
const duReal  y,
const duReal  z,
unsigned int  color 
)
pure virtual

Submit a vertex

Parameters
x,y,z[in] position of the verts.
color[in] color of the verts.

Implemented in duDisplayList.

◆ vertex() [4/8]

virtual void duDebugDraw::vertex ( const duReal  x,
const duReal  y,
const duReal  z,
unsigned int  color,
const duReal  u,
const duReal  v 
)
pure virtual

Submit a vertex

Parameters
x,y,z[in] position of the verts.
color[in] color of the verts.

◆ vertex() [5/8]

virtual void duDebugDraw::vertex ( const float pos,
unsigned int  color 
)
inlinefinalvirtual

◆ vertex() [6/8]

virtual void duDebugDraw::vertex ( const float pos,
unsigned int  color,
const float uv 
)
inlinefinalvirtual

◆ vertex() [7/8]

virtual void duDebugDraw::vertex ( const float  x,
const float  y,
const float  z,
unsigned int  color 
)
inlinefinalvirtual

◆ vertex() [8/8]

virtual void duDebugDraw::vertex ( const float  x,
const float  y,
const float  z,
unsigned int  color,
const float  u,
const float  v 
)
inlinefinalvirtual

The documentation for this struct was generated from the following files: