This version of Unity is unsupported.
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);

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.