pixelGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
Line 24: Line 24:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|New_Scripting_Commands_List}}


<h3 style='display:none'>Notes</h3>
<h3 style='display:none'>Notes</h3>

Revision as of 15:30, 5 January 2021

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