Version: 2021.3
LanguageEnglish
  • C#

HDROutputSettings

class in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Provides access to HDR display settings and information.

Static Properties

displaysThe list of currently connected displays with possible HDR availability.
mainThe HDROutputSettings for the main display.

Properties

activeDescribes whether HDR output is currently active on the display. It is true if this is the case, and @@false@ otherwise.
automaticHDRTonemappingDescribes whether Unity performs HDR tonemapping automatically.
availableDescribes whether HDR is currently available on your primary display and that you have HDR enabled in your Unity Project. It is true if this is the case, and false otherwise.
displayColorGamutThe ColorGamut used to output to the active HDR display.
formatThe RenderTextureFormat of the display buffer for the active HDR display.
graphicsFormatThe GraphicsFormat of the display buffer for the active HDR display.
HDRModeChangeRequestedDescribes whether the user has requested to change the HDR Output Mode. It is true if this is the case, and false otherwise.
maxFullFrameToneMapLuminanceMaximum input luminance at which gradation is preserved even when the entire screen is bright.
maxToneMapLuminanceMaximum input luminance at which gradation is preserved when 10% of the screen is bright.
minToneMapLuminanceMinimum input luminance at which gradation is identifiable.
paperWhiteNitsThe base luminance of a white paper surface in nits or candela per square meter (cd/m2).

Public Methods

RequestHDRModeChangeUse this function to request a change in the HDR Output Mode and in the value of HDROutputSettings.active.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961