Table of Contents

Class Curves

Namespace
UILib.Animations
Assembly
UILib.dll

A collection of curves for easing.

All of these curves expect input values from 0 to 1 and will return a value between 0 and 1.

See: https://easings.net/

public static class Curves
Inheritance
Curves
Inherited Members

Methods

EaseInCubic(float)

Applies a cubic easing curve which starts slowly and speeds up over time.

public static float EaseInCubic(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseInExp(float)

Applies an exponential easing curve which speeds up over time.

public static float EaseInExp(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseInOutCubic(float)

Applies a cubic easing curve which starts quickly and slows down over time.

public static float EaseInOutCubic(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseInOutExp(float)

Applies an exponential easing curve which starts and ends slowly.

public static float EaseInOutExp(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseInOutQuad(float)

Applies a quadratic/exponential easing curve which starts slowly, speeds up, and then slows down again.

public static float EaseInOutQuad(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseInOutSine(float)

Applies a sine easing curve which speeds up and then slows down again.

public static float EaseInOutSine(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseInQuad(float)

Applies a quadratic easing curve which starts slowly and speeds up over time.

public static float EaseInQuad(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseInSine(float)

Applies a sine easing curve which speeds up over time.

public static float EaseInSine(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseOutBounce(float)

Applies a curve which speeds up and bounces at the end.

public static float EaseOutBounce(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseOutCubic(float)

Applies a cubic easing curve which starts quickly and slows down over time.

public static float EaseOutCubic(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseOutElastic(float)

Applies an elastic easing curve which slows down over time and bounces at the end.

public static float EaseOutElastic(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseOutExp(float)

Applies an exponential easing curve which slows down over time.

public static float EaseOutExp(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseOutQuad(float)

Applies a quadratic easing curve which starts quickly and slows down over time.

public static float EaseOutQuad(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

EaseOutSine(float)

Applies a sine easing curve which slows down over time.

public static float EaseOutSine(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function

Linear(float)

Applies a linear function.

public static float Linear(float value)

Parameters

value float

The value to apply the function to

Returns

float

The result of applying this function