Click or drag to resize

MathfEase Method

Easing function, based on exponent. The curve values are: `0` is constant, `1` is linear, `0` to `1` is ease-in, `1` or more is ease-out. Negative values are in-out/out-in.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static float Ease(
	float s,
	float curve
)

Parameters

s
Type: SystemSingle
The value to ease.
curve
Type: SystemSingle
`0` is constant, `1` is linear, `0` to `1` is ease-in, `1` or more is ease-out.

Return Value

Type: Single
The eased value.
See Also