{"name":"diag_drawMode","title":"diag drawMode","type":"command","url":"https://community.bistudio.com/wiki/diag_drawMode","revid":336291,"updated":"2022-12-21T11:09:54Z","groups":["Diagnostic"],"status":"ok","games":{"arma3":"1.86"},"since":"arma3 1.86","arma3_since":"1.86","branch":["diag"],"description":"Activates a debug visualisation.","syntaxes":[{"syntax":"diag_drawMode type","params":[{"name":"type","type":"String","description":"type of visualisation. Can be one of:\n\n- \"Normal\"\n- \"Roadway\"\n- \"Geometry\"\n- \"ViewGeometry\"\n- \"FireGeometry\"\n- \"Paths\"\n- \"ShadowVolume\"\n- \"ShadowBuffer\"\n- \"Buoyancy\"\n- Arma 3 v2.10 \"Wire\" - can be used along other visualisation\n  - first mode: pure wireframe, no normal rendering\n  - second mode: normal rendering combined with wireframe\n  - third mode: back to normal","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"type"}}],"examples":[{"code":["diag_drawMode \"FireGeometry\";\nsleep 5;\ndiag_drawMode \"Normal\";"]},{"text":"\"Wire\" can be used along other modes:\n\n```sqf\ndiag_drawMode \"Wire\";            // switch to first Wire mode\ndiag_drawMode \"Roadway\";        // switch to Roadway like usual\n\ndiag_drawMode \"Wire\";            // switch to second Wire mode\ndiag_drawMode \"ViewGeometry\";    // switch to ViewGeometry, keeping the current Wire mode\n\ndiag_drawMode \"Wire\";            // disable Wire\n```","code":["diag_drawMode \"Wire\";\t\t\t// switch to first Wire mode\ndiag_drawMode \"Roadway\";\t\t// switch to Roadway like usual\n\ndiag_drawMode \"Wire\";\t\t\t// switch to second Wire mode\ndiag_drawMode \"ViewGeometry\";\t// switch to ViewGeometry, keeping the current Wire mode\n\ndiag_drawMode \"Wire\";\t\t\t// disable Wire"]}],"see_also":["diag_list"]}