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
)
Public Shared Function EvaluateGradient (
gradient As Gradient,
lookup As Single
) As Color
public:
static Color EvaluateGradient(
Gradient^ gradient,
float lookup
)
static member EvaluateGradient :
gradient : Gradient *
lookup : float32 -> Color
Parameters
- gradient
- Type: Gradient
Gradient - lookup
- Type: SystemSingle
Lookup value (0 - 1)
Return Value
Type:
ColorColor
See Also