文档

Unity Engine

Unity Engine

desiredColorSpace

Desired color space (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static ColorSpace desiredColorSpace { get; }

Remarks

This is the desired color space based on player settings (PlayerSettings.colorSpace). Note that if the platform or hardware does not support the given color space, the actually used color space might end up being different. Use QualitySettings.activeColorSpace to check for that.
Additional Resources: Linear and Gamma rendering, ColorSpace, QualitySettings.activeColorSpace.