pixelGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (See also)
m (category)
Line 23: Line 23:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
 
[[Category: Dialogs]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
<h3 style='display:none'>Notes</h3>
<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<dl class="command_description">

Revision as of 23:28, 1 July 2018

Hover & click on the images for description

Description

Description:
Returns grid size based on screen resolution, UI size and configs: uiScaleFactor, uiScaleMaxGrids.
Groups:
Uncategorised

Syntax

Syntax:
pixelGrid
Return Value:
Scalar -

Examples

Example 1:
_gridHeight = pixelH * pixelGrid;

Additional Information

See also:
pixelHpixelWPixel Grid System

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

Bottom Section

Notes

Bottom Section