getVideoOptions

From Bohemia Interactive Community
Revision as of 00:37, 20 October 2024 by Lou Montana (talk | contribs) (Add comment)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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; /* [ ["aspectRatioName", "Auto (Stretch)"], ["brightness", 1.1], ["cloudQualityName", "VeryHigh"], ["displayModeName", "FullScreenWindow"], ["dynLightsCount", 32], ["dynLightsQualityName", "VeryHigh"], ["gamma", 1], ["guiScale", 0.7], ["guiScaleName", "Normal"], ["hdrQuality", 16], ["hdrQualityName", "Normal"], ["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed ["objectVisibility", 6000], ["objQualityName", "VeryHigh"], ["overallPresetName", "Custom"], ["overallVisibility", 8000], ["overrideHazeQuality", -1], ["particleQualityName", "High"], ["pipQuality", 2048], ["pipQualityName", "VeryHigh"], ["pipVisibility", 3000], ["ppBloom", 1], ["ppBrightness", 1], ["ppCausticsQualityName","Enabled"], // fixed in 2.18 ["anisotropicFiltering","VeryHigh"], // fixed in 2.18 ["atocQuality","All"], // fixed in 2.18 ["ppColorPresetName", "Custom"], ["ppContrast", 1], ["ppDOF", 1], ["ppFSAA", 1], ["ppHazeQualityName", "Standard"], ["ppPPAAQualityName", "CMAANormal"], ["ppRadialBlur", 1], ["ppRotationBlur", 1], ["ppSaturation", 1.25], ["ppSharpenFilter", 0.75], ["ppSSAOQualityName", ""], ["refreshRate", 60], ["samplingPercentage", 100], ["shadowQualityName", "VeryHigh"], ["shadowVisibility", 200], ["terrainQuality", 3.125], ["terrainQualityName", "VeryHigh"], ["texQualityName", "VeryHigh"], ["vramInfo", ["5.9 GiB", "16 GiB", "0 B", "978 MiB", "5.6 GiB"]], // presence not guaranteed ["vsync", true], ["waterReflectionQualityName", "High"] ] */

Additional Information

See also:
getResolution getAudioOptionVolumes getSubtitleOptions getMissionOptions

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