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

LinearColor.Convert

Switch to Manual
public static Experimental.GlobalIllumination.LinearColor Convert (Color color, float intensity);

Parameters

colorLight color.
intensityLight intensity.

Returns

LinearColor Returns the normalized linear color value.

Description

Converts a Light's color value to a normalized linear color value, automatically handling gamma conversion if necessary.