pixelGrid: Difference between revisions

From Bohemia Interactive Community
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

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.59|1.59]]
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:
pixelHpixelW

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]]

Bottom Section

Notes

Bottom Section