Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public static float Lerp(
float from,
float to,
float weight
)
Parameters
- from
- Type: SystemSingle
The start value for interpolation. - to
- Type: SystemSingle
The destination value for interpolation. - weight
- Type: SystemSingle
A value on the range of 0.0 to 1.0, representing the amount of interpolation.
Return Value
Type:
SingleThe resulting value of the interpolation.
See Also