pixelGrid: Difference between revisions
Jump to navigation
Jump to search
(fixed typo) |
(formatted example) |
||
Line 5: | Line 5: | ||
| '''pixelGrid''' |= Syntax | | '''pixelGrid''' |= Syntax | ||
| [[Scalar]] - |= RETURNVALUE | | [[Scalar]] - |= RETURNVALUE | ||
|x1= <code>_gridHeight = pixelH * pixelGrid;</code>|= EXAMPLE1 | |x1= <code>_gridHeight = [[pixelH]] * [[pixelGrid]];</code>|= EXAMPLE1 | ||
| [[pixelH]], [[pixelW]]|= SEEALSO | | [[pixelH]], [[pixelW]]|= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 19:50, 13 April 2016
Description
- Description:
- Returns grid size based on screen resolution, UI size and configs: uiScaleFactor, uiScaleMaxGrids.
- Groups:
- Uncategorised
Syntax
- Syntax:
- pixelGrid
- Return Value:
- Scalar -
Examples
Additional Information
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
[[Category:Introduced with arma3dev version 1.59]][[ Category: arma3dev: New Scripting Commands | PIXELGRID]][[ Category: arma3dev: Scripting Commands | PIXELGRID]]