Open 3D Engine RecastNavigation Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
RecastNavigation::RecastNavigationDebugDraw Class Referencefinal

#include <RecastNavigationDebugDraw.h>

Inherits duDebugDraw.

Public Member Functions

 RecastNavigationDebugDraw (bool drawLines=false)
 
void SetViewableAabb (const AZ::Aabb &viewAabb)
 Limit debug draw to a specified volume.
 
void depthMask (bool state) override
 
void texture (bool state) override
 Not implemented.
 
void begin (duDebugDrawPrimitives prim, float size=1.0f) override
 
void vertex (const float *pos, unsigned int color) override
 
void vertex (float x, float y, float z, unsigned int color) override
 
void vertex (const float *pos, unsigned int color, const float *uv) override
 
void vertex (float x, float y, float z, unsigned int color, float u, float v) override
 
void end () override
 

Protected Member Functions

void AddVertex (float x, float y, float z, unsigned int color)
 

Protected Attributes

duDebugDrawPrimitives m_currentPrim = DU_DRAW_POINTS
 
AZStd::vector< AZStd::pair< AZ::Vector3, AZ::u32 > > m_verticesToDraw
 Vertices with color information.
 
bool m_drawLines = false
 Recast debug draw is quite noisy with lines, disabling them by default.
 
AZ::Aabb m_viewAabb
 Only draw debug view within this volume.
 

Detailed Description

Recast library specific debug draw that captures and draws the various debug overlays. See @duDebugDraw for documentation of the methods.

Member Function Documentation

◆ depthMask()

void RecastNavigation::RecastNavigationDebugDraw::depthMask ( bool  state)
inlineoverride

duDebugDraw overrides...

Not implemented

Member Data Documentation

◆ m_viewAabb

AZ::Aabb RecastNavigation::RecastNavigationDebugDraw::m_viewAabb
protected
Initial value:
= AZ::Aabb::CreateFromMinMax(
-AZ::Vector3(AZ::Constants::FloatMax),
AZ::Vector3(AZ::Constants::FloatMax))

Only draw debug view within this volume.


The documentation for this class was generated from the following file: