Options
All
  • Public
  • Public/Protected
  • All
Menu

This represents the main contract an easing function should follow. Easing functions are used throughout the animation system.

see

https://doc.babylonjs.com/divingDeeper/animation/advanced_animations#easing-functions

Hierarchy

  • IEasingFunction

Implemented by

Index

Methods

Methods

  • ease(gradient: number): number
  • Given an input gradient between 0 and 1, this returns the corresponding value of the easing function. The link below provides some of the most common examples of easing functions.

    see

    https://easings.net/

    Parameters

    • gradient: number

      Defines the value between 0 and 1 we want the easing value for

    Returns number

    the corresponding value on the curve defined by the easing function

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme