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



Introduced in

Version:1.48

Description

Description:

Returns the setting for a specific video options (as set in the Options menu, or using setVideoSetting).

For example, when the screenResolution parameter is queried, the values returned are for the rendered resolution:

setVideoSetting ["screenResolution",800,600,50,true];
_resolution = getVideoSetting "screenresolution";
// Would return [400,300] => 800x600 at 50%

Syntax

Syntax:getVideoSetting option
Parameters:
Return Value:Array

Examples

Examples:
getVideoSetting "shadowDistance"
getVideoSetting "screenResolution"

Additional Information

See also: setVideoSetting, aspectRatio, getResolution, getSupportedResolutions, objectDrawDistance, isPipEnabled
Multiplayer: 
Problems: 

Notes