diag drawMode: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "|size=0.75" to "|size= 0.75") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
|p1= type: [[String]] - type of visualisation. Can be one of: | |p1= type: [[String]] - type of visualisation. Can be one of: | ||
{{Columns| | {{Columns|2| | ||
* "Normal" | * "Normal" | ||
* "Roadway" | * "Roadway" | ||
Line 24: | Line 24: | ||
* "ShadowBuffer" | * "ShadowBuffer" | ||
* "Buoyancy" | * "Buoyancy" | ||
| | * {{GVI|arma3|2.10|size= 0.75}} "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 | |||
}} | }} | ||
Line 33: | Line 36: | ||
sleep 5; | sleep 5; | ||
diag_drawMode "Normal"; | diag_drawMode "Normal"; | ||
</sqf> | |||
|x2= "Wire" can be used along other modes: | |||
<sqf> | |||
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 | |||
</sqf> | </sqf> | ||
|seealso= [[diag_list]] | |seealso= [[diag_list]] | ||
}} | }} |
Latest revision as of 12:09, 21 December 2022
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"
- 2.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
- Return Value:
- Nothing
Examples
- Example 1:
- 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
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