pixelGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI Control |GROUP1= ")
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
Line 28: Line 28:
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category: Dialogs]]
[[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 11:26, 25 September 2020

Hover & click on the images for description

Description

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

Syntax

Syntax:
pixelGrid
Return Value:
Scalar -

Examples

Example 1:
_gridHeight = pixelH * pixelGrid;

Additional Information

See also:
pixelGridBasepixelGridNoUIScalepixelHpixelWPixel 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