The main singleton class that handles DebugDraw2D and DebugDraw3D. More...
#include <debug_draw_manager.h>
 
 | Public Member Functions | |
| void | clear_all () | 
| void | set_debug_enabled (bool value) | 
| bool | is_debug_enabled () const | 
| Static Public Member Functions | |
| static DebugDrawManager * | get_singleton () | 
The main singleton class that handles DebugDraw2D and DebugDraw3D.
Several additional settings can be found in the project settings.
debug_draw_3d/settings/initial_debug_state sets the initial debugging state.
debug_draw_3d/settings/common/DebugDrawManager_singleton_aliases sets aliases for DebugDrawManager to be registered as additional singletons.
debug_draw_3d/settings/common/DebugDraw2D_singleton_aliases sets aliases for DebugDraw2D to be registered as additional singletons.
debug_draw_3d/settings/common/DebugDraw3D_singleton_aliases sets aliases for DebugDraw3D to be registered as additional singletons.
Using these aliases you can reference singletons with shorter words:
| 
 | inlinestatic | 
Get singleton. Not available in GDScript.
| void DebugDrawManager::clear_all | ( | ) | 
Clear all 2D and 3D geometry
| void DebugDrawManager::set_debug_enabled | ( | bool | value | ) | 
Set whether to display 2D and 3D debug graphics
| bool DebugDrawManager::is_debug_enabled | ( | ) | const | 
Whether debug 2D and 3D graphics are disabled