Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::SmootherStepEasingFunction Struct Reference

Changes the value quickly without instant changes in velocity. 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. More...
 

Detailed Description

Changes the value quickly without instant changes in velocity.

Smoother step easing function accelerates slower in the beginning and the end of the function than the smooth step easing function.

SmootherStepEasingFunction.png
Smoother step easing function: ease in and ease out, and ease in-out

Member Function Documentation

float kanzi::SmootherStepEasingFunction::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: