class Easing

in global :: Sandbox . Utility

Easing functions used for transitions. See https://easings.net/ for examples.


public static float EaseInOut( float f )

🤡 Doc inheritance is not yet supported.

No summary.

public static float EaseIn( float f )

🤡 Doc inheritance is not yet supported.

No summary.

public static float EaseOut( float f )

🤡 Doc inheritance is not yet supported.

No summary.

public static float Linear( float f )

Linear easing function, x=y.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static float QuadraticIn( float f )

Quadratic ease in.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static float QuadraticOut( float f )

Quadratic ease out.

  • 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.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static float ExpoIn( float f )

Exponential ease in.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static float ExpoOut( float f )

Exponential ease out.

  • 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.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static float BounceIn( float f )

Bouncy ease in.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static float BounceOut( float f )

Bouncy ease out.

  • 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.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static float SineEaseIn( float f )

Sine ease in.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static float SineEaseOut( float f )

Sine ease out.

  • 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.

  • f Input in range of 0 to 1.
  • Returns Output in range 0 to 1.

public static 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 bool TryGetFunction( string name, ref Easing.Function function )

Get an easing function by name (ie, "ease-in"). If the function exists we return true, otherwise return false.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.