getVideoOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix phrasing)
m (2.12 released, no longer only dev branch)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.12
|version1= 2.12
|branch= dev


|gr1= System
|gr1= System

Revision as of 16:42, 28 February 2023

Hover & click on the images for description

Description

Description:
Obtain the current system's video settings.
Groups:
System

Syntax

Syntax:
getVideoOptions
Return Value:
HashMap - all video settings, the key is always a String, the value can be a String, Number, Boolean or Array (see Example 1).
vramInfo and monitorResolution keys presence is not guaranteed.

Examples

Example 1:
private _videoOptions = getVideoOptions; /* [ ["GPUName", "NVIDIA GeForce GTX 1660"], ["aspectRatioName", "Auto (Stretch)"], ["brightness", 1], ["cloudQualityName", "VeryLow"], ["displayModeName", "Window"], ["dynLightsCount", 4], ["dynLightsQualityName", "VeryLow"], ["gamma", 1], ["guiScale", 0.55], ["guiScaleName", "Small"], ["hdrQuality", 16], ["hdrQualityName", "Normal"], ["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed ["objQualityName", "VeryLow"], ["objectVisibility", 800], ["overallPresetName", "VeryLow"], ["overallVisibility", 1000], ["particleQualityName", "Low"], ["pipQuality", 512], ["pipQualityName", "VeryLow"], ["pipVisibility", 835], ["ppBloom", 0], ["ppBrightness", 1], ["ppCausticsQualityName", "Disabled"], ["ppColorPresetName", "Default"], ["ppContrast", 1], ["ppDOF", 0], ["ppFSAA", 1] ["ppPPAAQualityName", "Disabled"], ["ppRadialBlur", 0], ["ppRotationBlur", 0], ["ppSSAOQualityName", "Disabled"], ["ppSaturation", 1], ["ppSharpenFilter", 0], ["refreshRate", 60], ["samplingPercentage", 100], ["shadowQualityName", "Low"], ["shadowVisibility", 100], ["terrainQuality", 25], ["terrainQualityName", "Low"], ["texQualityName", "VeryLow"], ["vramInfo", ["5.8 GiB", "7.9 GiB", "0 B", "231 MiB", "5.5 GiB"]], // presence not guaranteed ["vsync", false], ["waterReflectionQualityName", "Disabled"] ]; */

Additional Information

See also:
getResolution getAudioOptionVolumes getSubtitleOptions

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