diag drawMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Some wiki formatting)
Line 9: Line 9:
|gr1= Diagnostic
|gr1= Diagnostic


|descr= Activates specific debug visualization.
|descr= Activates a debug visualisation.


|s1= [[diag_drawMode]] type
|s1= [[diag_drawMode]] type


|p1= type: [[String]] - Type of visualization. Can be:<br>
|p1= type: [[String]] - type of visualisation. Can be one of:
{{Columns|3|
* "Normal"
* "Normal"
* "Roadway"
* "Roadway"
Line 23: Line 24:
* "ShadowBuffer"
* "ShadowBuffer"
* "Buoyancy"
* "Buoyancy"
|shrink= y
}}


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[diag_drawMode]] "normal"</code>
|x1= <sqf>
diag_drawMode "FireGeometry";
sleep 5;
diag_drawMode "Normal";
</sqf>


|seealso= [[diag_list]]
|seealso= [[diag_list]]
}}
}}

Revision as of 20:45, 3 May 2022

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Activates a debug visualisation.
Groups:
Diagnostic

Syntax

Syntax:
diag_drawMode type
Parameters:
type: String - type of visualisation. Can be one of:
  • "Normal"
  • "Roadway"
  • "Geometry"
  • "ViewGeometry"
  • "FireGeometry"
  • "Paths"
  • "ShadowVolume"
  • "ShadowBuffer"
  • "Buoyancy"
Return Value:
Nothing

Examples

Example 1:
diag_drawMode "FireGeometry"; sleep 5; diag_drawMode "Normal";

Additional Information

See also:
diag_list

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note