getVideoOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Remove GPUName from example)
(Update to 2.16)
 
(4 intermediate revisions by one other user not shown)
Line 18: Line 18:
[
[
["aspectRatioName", "Auto (Stretch)"],
["aspectRatioName", "Auto (Stretch)"],
["brightness", 1],
["brightness", 1.1],
["cloudQualityName", "VeryLow"],
["cloudQualityName", "VeryHigh"],
["displayModeName", "Window"],
["displayModeName", "FullScreenWindow"],
["dynLightsCount", 4],
["dynLightsCount", 32],
["dynLightsQualityName", "VeryLow"],
["dynLightsQualityName", "VeryHigh"],
["gamma", 1],
["gamma", 1],
["guiScale", 0.55],
["guiScale", 0.7],
["guiScaleName", "Small"],
["guiScaleName", "Normal"],
["hdrQuality", 16],
["hdrQuality", 16],
["hdrQualityName", "Normal"],
["hdrQualityName", "Normal"],
["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed
["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed
["objQualityName", "VeryLow"],
["objectVisibility", 6000],
["objectVisibility", 800],
["objQualityName", "VeryHigh"],
["overallPresetName", "VeryLow"],
["overallPresetName", "Custom"],
["overallVisibility", 1000],
["overallVisibility", 8000],
["particleQualityName", "Low"],
["overrideHazeQuality", -1],
["pipQuality", 512],
["particleQualityName", "High"],
["pipQualityName", "VeryLow"],
["pipQuality", 2048],
["pipVisibility", 835],
["pipQualityName", "VeryHigh"],
["ppBloom", 0],
["pipVisibility", 3000],
["ppBloom", 1],
["ppBrightness", 1],
["ppBrightness", 1],
["ppCausticsQualityName", "Disabled"],
["ppCausticsQualityName", ""],
["ppColorPresetName", "Default"],
["ppColorPresetName", "Custom"],
["ppContrast", 1],
["ppContrast", 1],
["ppDOF", 0],
["ppDOF", 1],
["ppFSAA", 1]
["ppFSAA", 1],
["ppPPAAQualityName", "Disabled"],
["ppHazeQualityName", "Standard"],
["ppRadialBlur", 0],
["ppPPAAQualityName", "CMAANormal"],
["ppRotationBlur", 0],
["ppRadialBlur", 1],
["ppSSAOQualityName", "Disabled"],
["ppRotationBlur", 1],
["ppSaturation", 1],
["ppSaturation", 1.25],
["ppSharpenFilter", 0],
["ppSharpenFilter", 0.75],
["ppSSAOQualityName", ""],
["refreshRate", 60],
["refreshRate", 60],
["samplingPercentage", 100],
["samplingPercentage", 100],
["shadowQualityName", "Low"],
["shadowQualityName", "VeryHigh"],
["shadowVisibility", 100],
["shadowVisibility", 200],
["terrainQuality", 25],
["terrainQuality", 3.125],
["terrainQualityName", "Low"],
["terrainQualityName", "VeryHigh"],
["texQualityName", "VeryLow"],
["texQualityName", "VeryHigh"],
["vramInfo", ["5.8 GiB", "7.9 GiB", "0 B", "231 MiB", "5.5 GiB"]], // presence not guaranteed
["vramInfo", ["5.9 GiB", "16 GiB", "0 B", "978 MiB", "5.6 GiB"]], // presence not guaranteed
["vsync", false],
["vsync", true],
["waterReflectionQualityName", "Disabled"]
["waterReflectionQualityName", "High"]
];
]
*/
*/
</sqf>
</sqf>


|seealso= [[getResolution]] [[getAudioOptionVolumes]] [[getSubtitleOptions]]
|seealso= [[getResolution]] [[getAudioOptionVolumes]] [[getSubtitleOptions]] [[getMissionOptions]]
}}
}}

Latest revision as of 19:11, 26 March 2024

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", ""], ["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