Click or drag to resize

GradientExtensionsLerp Method

Lerp between two gradients

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static Gradient Lerp(
	this Gradient a,
	Gradient b,
	float t
)

Parameters

a
Type: Gradient
Base gradient
b
Type: Gradient
Final gradient
t
Type: SystemSingle
Lerp amount (0 - 1)

Return Value

Type: Gradient

[Missing <returns> documentation for "M:DigitalRuby.WeatherMaker.GradientExtensions.Lerp(UnityEngine.Gradient,UnityEngine.Gradient,System.Single)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Gradient. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also