Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.00

Description

Description: Returns the UI scale factor based on the screen resolution. The UI scale factor is computed by: (Vertical viewport size in pixels) / 864. The possible UI scale factors, with increasing screen resolutions, are: 1, 1.25, 1.5, 1.75, 2, 2.25, 2.5, 2.75, 3.

Syntax

Syntax: uiGlobalScale
Parameters:
Return Value: Number - The UI scale factor.

Examples

Examples:
_scale = uiGlobalScale

Additional Information

See also: uiPixelWidth, uiPixelHeight
Multiplayer: 
Problems: 

Notes