Arma 3 Scripting

pixelGridNoUIScale

  • Arma 3 v1.62

Command · Markdown · JSON · 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