Version: 2022.3

HDROutputSettings

class in UnityEngine

切换到手册

描述

Provides access to HDR display settings and information.

静态变量

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

变量

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).

公共函数

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