Click or drag to resize

ColorLinearInterpolate Method (Color, Color)

Returns the result of the linear interpolation between this color and `to` by color amount `weight`.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Color LinearInterpolate(
	Color to,
	Color weight
)

Parameters

to
Type: GodotColor
The destination color for interpolation.
weight
Type: GodotColor
A color with components on the range of 0.0 to 1.0, representing the amount of interpolation.

Return Value

Type: Color
The resulting color of the interpolation.
See Also