기술 자료

Unity Engine

Unity Engine

GammaToLinearSpace(float)

Converts the given value from gamma (sRGB) to linear color space.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static float GammaToLinearSpace(float value)

Parameters

value

Returns

Type

Description

float

Remarks

Additional Resources: Linear and Gamma rendering, ColorSpace, Mathf.LinearToGammaSpace, Color.linear.