Description
Activates a debug visualisation.
Syntax
diag_drawMode type
Parameters:
type: String - type of visualisation. Can be one of:- "Normal"
- "Roadway"
- "Geometry"
- "ViewGeometry"
- "FireGeometry"
- "Paths"
- "ShadowVolume"
- "ShadowBuffer"
- "Buoyancy"
- Arma 3 v2.10 "Wire" - can be used along other visualisation
- first mode: pure wireframe, no normal rendering
- second mode: normal rendering combined with wireframe
- third mode: back to normal
Returns: Nothing
Examples
Example 1
diag_drawMode "FireGeometry";
sleep 5;
diag_drawMode "Normal";
Example 2
"Wire" can be used along other modes:
diag_drawMode "Wire"; // switch to first Wire mode
diag_drawMode "Roadway"; // switch to Roadway like usual
diag_drawMode "Wire"; // switch to second Wire mode
diag_drawMode "ViewGeometry"; // switch to ViewGeometry, keeping the current Wire mode
diag_drawMode "Wire"; // disable Wire