pixelGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatted example)
mNo edit summary
Line 1: Line 1:
{{Command|= Comments
{{Command|= Comments
|arma3dev|= Game name
____________________________________________________________________________________________
|1.59|= Game version
 
|Returns grid size based on screen resolution, UI size and configs: uiScaleFactor, uiScaleMaxGrids.|= Description
| arma3 |= Game name
|1.60|= Game version
____________________________________________________________________________________________
 
| Returns grid size based on screen resolution, UI size and configs: uiScaleFactor, uiScaleMaxGrids. |= Description
____________________________________________________________________________________________
 
| '''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  

Revision as of 16:03, 30 May 2016

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

Bottom Section

Notes

Bottom Section