Arma 3 Scripting

Command in GUI Control - Positioning

pixelGridNoUIScale

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns grid size based on screen resolution and configs: uiScaleFactor, uiScaleMaxGrids. As mentioned in the name of this command, the user interface scale is ignored.

Syntax

pixelGridNoUIScale

Returns: Number - grid size, see Arma 3: Pixel Grid System

Examples

Example 1

private _gridHeightNoUIScale = pixelH * pixelGridNoUIScale;

See also

pixelGrid · pixelGridBase · pixelH · pixelW · Pixel Grid System