public static abstract sealed class Sandbox.Utility.Easing
Easing functions used for transitions. See https://easings.net/ for examples.
Related Guides
Broader workflow and conceptual references connected to this API.
By default, async tasks in s&box run on the main thread. They operate a lot like coroutines, making them the perfect replacement.
It will be active by default, but you can toggle it with the key-shaped button in the toolbar.
To motion edit, you select a time range of one or more tracks, then tweak the properties that those tracks represent to manipulate track data. You can also cut / copy / paste ranges of time, or save the selection as a separate .movie file.
Methods
Showing 18 methods
public static float BounceIn(float f)
Bouncy ease in.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float BounceInOut(float f)
Bouncy ease in and out.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float BounceOut(float f)
Bouncy ease out.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float EaseIn(float f)
public static float EaseInOut(float f)
public static float EaseOut(float f)
public static float ExpoIn(float f)
Exponential ease in.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float ExpoInOut(float f)
Exponential ease in and out.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float ExpoOut(float f)
Exponential ease out.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static Sandbox.Utility.Easing.Function GetFunction(string name)
Get an easing function by name (ie, "ease-in"). If the function doesn't exist we return QuadraticInOut
public static float Linear(float f)
Linear easing function, x=y.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float QuadraticIn(float f)
Quadratic ease in.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float QuadraticInOut(float f)
Quadratic ease in and out.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float QuadraticOut(float f)
Quadratic ease out.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float SineEaseIn(float f)
Sine ease in.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float SineEaseInOut(float f)
Sine ease in and out.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
public static float SineEaseOut(float f)
Sine ease out.
Parameters
f: Input in range of 0 to 1.
Returns
Output in range 0 to 1.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Utility |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.Utility.Easing |