Options
All
• Public
• Public/Protected
• All

# Class BounceEase

Easing function with a bouncing shape (see link below).

see

https://easings.net/#easeInBounce

see

https://doc.babylonjs.com/babylon101/animations#easing-functions

## Constructors

### constructor

• new BounceEase(bounces?: number, bounciness?: number): BounceEase
• Instantiates a bounce easing

see

https://easings.net/#easeInBounce

#### Parameters

• ##### Optional bounces: number

Defines the number of bounces

• ##### Optional bounciness: number

Defines the amplitude of the bounce

## Properties

### bouncesSearch playground for bounces

bounces: number

Defines the number of bounces

### bouncinessSearch playground for bounciness

bounciness: number

Defines the amplitude of the bounce

### StaticReadonly EASINGMODE_EASEINSearch playground for EASINGMODE_EASEIN

EASINGMODE_EASEIN: number

Interpolation follows the mathematical formula associated with the easing function.

### StaticReadonly EASINGMODE_EASEINOUTSearch playground for EASINGMODE_EASEINOUT

EASINGMODE_EASEINOUT: number

Interpolation uses EaseIn for the first half of the animation and EaseOut for the second half.

### StaticReadonly EASINGMODE_EASEOUTSearch playground for EASINGMODE_EASEOUT

EASINGMODE_EASEOUT: number

Interpolation follows 100% interpolation minus the output of the formula associated with the easing function.

## Methods

### easeSearch playground for ease

• Given an input gradient between 0 and 1, this returns the corresponding value of the easing function.

#### Parameters

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

### getEasingModeSearch playground for getEasingMode

• getEasingMode(): number
• Gets the current easing mode.

#### Returns number

the easing mode

### setEasingModeSearch playground for setEasingMode

• setEasingMode(easingMode: number): void
• Sets the easing mode of the current function.

#### Parameters

• ##### easingMode: number

Defines the willing mode (EASINGMODE_EASEIN, EASINGMODE_EASEOUT or EASINGMODE_EASEINOUT)

## Legend

• Constructor
• Property
• Method
• Property
• Method
• Inherited property
• Inherited method
• Static property
• Static method