getVideoOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Remove GPUName from example)
No edit summary
Line 30: Line 30:
["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed
["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed
["objQualityName", "VeryLow"],
["objQualityName", "VeryLow"],
    ["ppHazeQualityName","Low"],
["objectVisibility", 800],
["objectVisibility", 800],
["overallPresetName", "VeryLow"],
["overallPresetName", "VeryLow"],

Revision as of 22:59, 1 November 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; /* [ ["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"], ["ppHazeQualityName","Low"], ["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