getVideoOptions: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add gamma) |
Lou Montana (talk | contribs) m (Add comment) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.12 | |version1= 2.12 | ||
|gr1= System | |gr1= System | ||
Line 12: | Line 10: | ||
|s1= [[getVideoOptions]] | |s1= [[getVideoOptions]] | ||
|r1= [[HashMap]] - all video settings, the key is always a [[String]], the value can be a [[String]], [[Number]], [[Boolean]] or [[Array]] (see {{Link|#Example 1}}) | |r1= [[HashMap]] - all video settings, the key is always a [[String]], the value can be a [[String]], [[Number]], [[Boolean]] or [[Array]] (see {{Link|#Example 1}}). | ||
{{Feature|important|{{hl|vramInfo}} and {{hl|monitorResolution}} | {{Feature|important|{{hl|vramInfo}} and {{hl|monitorResolution}} keys presence is not guaranteed.}} | ||
|x1= <sqf> | |x1= <sqf> | ||
Line 19: | Line 17: | ||
/* | /* | ||
[ | [ | ||
["aspectRatioName", "Auto (Stretch)"], | ["aspectRatioName", "Auto (Stretch)"], | ||
["brightness", 1], | ["brightness", 1.1], | ||
["cloudQualityName", " | ["cloudQualityName", "VeryHigh"], | ||
["displayModeName", " | ["displayModeName", "FullScreenWindow"], | ||
["dynLightsCount", | ["dynLightsCount", 32], | ||
["dynLightsQualityName", " | ["dynLightsQualityName", "VeryHigh"], | ||
["gamma", 1], | ["gamma", 1], | ||
["guiScale", 0. | ["guiScale", 0.7], | ||
["guiScaleName", " | ["guiScaleName", "Normal"], | ||
["hdrQuality", 16], | ["hdrQuality", 16], | ||
["hdrQualityName", "Normal"], | ["hdrQualityName", "Normal"], | ||
["monitorResolution", [0, 0, 2304, 1440]], | ["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed | ||
[" | ["objectVisibility", 6000], | ||
[" | ["objQualityName", "VeryHigh"], | ||
["overallPresetName", " | ["overallPresetName", "Custom"], | ||
["overallVisibility", | ["overallVisibility", 8000], | ||
["particleQualityName", " | ["overrideHazeQuality", -1], | ||
["pipQuality", | ["particleQualityName", "High"], | ||
["pipQualityName", " | ["pipQuality", 2048], | ||
["pipVisibility", | ["pipQualityName", "VeryHigh"], | ||
["ppBloom", | ["pipVisibility", 3000], | ||
["ppBloom", 1], | |||
["ppBrightness", 1], | ["ppBrightness", 1], | ||
["ppCausticsQualityName", " | ["ppCausticsQualityName","Enabled"], // fixed in 2.18 | ||
["ppColorPresetName", " | ["anisotropicFiltering","VeryHigh"], // fixed in 2.18 | ||
["atocQuality","All"], // fixed in 2.18 | |||
["ppColorPresetName", "Custom"], | |||
["ppContrast", 1], | ["ppContrast", 1], | ||
["ppDOF", | ["ppDOF", 1], | ||
["ppFSAA", 1] | ["ppFSAA", 1], | ||
[" | ["ppHazeQualityName", "Standard"], | ||
[" | ["ppPPAAQualityName", "CMAANormal"], | ||
[" | ["ppRadialBlur", 1], | ||
[" | ["ppRotationBlur", 1], | ||
["ppSaturation", 1], | ["ppSaturation", 1.25], | ||
["ppSharpenFilter", 0], | ["ppSharpenFilter", 0.75], | ||
["ppSSAOQualityName", ""], | |||
["refreshRate", 60], | ["refreshRate", 60], | ||
["samplingPercentage", 100], | ["samplingPercentage", 100], | ||
["shadowQualityName", " | ["shadowQualityName", "VeryHigh"], | ||
["shadowVisibility", | ["shadowVisibility", 200], | ||
["terrainQuality", | ["terrainQuality", 3.125], | ||
["terrainQualityName", " | ["terrainQualityName", "VeryHigh"], | ||
["texQualityName", " | ["texQualityName", "VeryHigh"], | ||
["vramInfo", ["5. | ["vramInfo", ["5.9 GiB", "16 GiB", "0 B", "978 MiB", "5.6 GiB"]], // presence not guaranteed | ||
["vsync", | ["vsync", true], | ||
["waterReflectionQualityName", " | ["waterReflectionQualityName", "High"] | ||
] | ] | ||
*/ | */ | ||
</sqf> | </sqf> | ||
|seealso= [[getResolution]] [[getAudioOptionVolumes]] [[getSubtitleOptions]] | |seealso= [[getResolution]] [[getAudioOptionVolumes]] [[getSubtitleOptions]] [[getMissionOptions]] | ||
}} | }} |
Latest revision as of 00:37, 20 October 2024
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).
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
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