Click or drag to resize

WeatherMakerLightManagerScriptEvaluateGradient Method

Get a color for a gradient given a lookup value on the gradient

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static Color EvaluateGradient(
	Gradient gradient,
	float lookup
)

Parameters

gradient
Type: Gradient
Gradient
lookup
Type: SystemSingle
Lookup value (0 - 1)

Return Value

Type: Color
Color
See Also