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

LinearColor.Convert

Declaration

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

Parameters

color Light color.
intensity Light 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.


Did you find this page useful? Please give it a rating: