Experimental: this API is experimental and might be changed or removed in the future.

LinearColor.Convert

切换到手册
public static Experimental.GlobalIllumination.LinearColor Convert (Color color, float intensity);

参数

color光照颜色。
intensity光照强度。

返回

LinearColor 返回标准化线性颜色值。

描述

将光源的颜色值转换为标准化线性颜色值,需要时自动处理伽马转换。