How can I display wireframe in game

Godot Version

v4.2.2.stable.official [15073afe3]

Question

I’m trying to see my culling system in game with a wireframe debug mode.

I know it was possible with VisualServer in 3.x.x but is it still possible in 4?

Looks like a viewport property now:

get_viewport().debug_draw = Viewport.DEBUG_DRAW_WIREFRAME

Sick, thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.