pixelGridBase: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1.62 | |version1= 1.62 | ||
|gr1= GUI Control | |gr1= GUI Control - Positioning | ||
| Returns grid size based on screen resolution. | |descr= Returns grid size based on screen resolution. | ||
| '''pixelGridBase''' | |s1= '''pixelGridBase''' | ||
| [[ | |r1= [[Number]] - Grid size, see [[Arma 3: Pixel Grid System]] | ||
|x1= < | |x1= <sqf>_gridBaseHeight = pixelH * pixelGridBase;</sqf> | ||
| [[pixelGrid]] | |||
|seealso= [[pixelGrid]] [[pixelGridNoUIScale]] [[pixelH]] [[pixelW]] [[Pixel Grid System]] | |||
}} | }} | ||
Revision as of 11:24, 13 May 2022
Description
- Description:
- Returns grid size based on screen resolution.
- Groups:
- GUI Control - Positioning
Syntax
- Syntax:
- pixelGridBase
- Return Value:
- Number - Grid size, see Arma 3: Pixel Grid System
Examples
- Example 1:
Additional Information
- See also:
- pixelGrid pixelGridNoUIScale pixelH pixelW Pixel 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