Debug overlays: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
|-
|-
| {{command|ent_text}} || Yes
| {{command|ent_text}} || Yes
|-
| {{command|npc_squads}} || Yes
|-
|-
| {{command|physics_constraints}} || Yes
| {{command|physics_constraints}} || Yes

Revision as of 13:21, 17 September 2024

In Source Source games there are various commands which show debug overlays displaying information useful for developers.

Clearing debug overlays

  • Launch the same command again you used to display the debug overlay.
  • Use clear_debug_overlays command. This does not affect some overlays.

List of Commands that display debug overlays

Name Affected by clear_debug_overlays
ent_text Yes
npc_squads Yes
physics_constraints Yes
r_drawlightinfo No
r_drawmodelstatsoverlay No
Todo: Complete the list.