Kanzi 3.9.10
kanzi::BounceEasingFunction Struct Reference

Changes the value as a sequence of bounces. More...

#include <kanzi/core.ui/animation/easing_curve_shared.hpp>

Public Member Functions

float operator() (float time) const
 Computes the value of the easing function for the given time.
 

Detailed Description

Changes the value as a sequence of bounces.

Bounce easing function: ease in, ease out, and ease in-out

Member Function Documentation

◆ operator()()

float kanzi::BounceEasingFunction::operator() ( float time) const
inline

Computes the value of the easing function for the given time.

Parameters
timeNormalized time.
Returns
Result of the easing function.

The documentation for this struct was generated from the following file: