Kanzi Framework  3.9.0
Kanzi Engine API
kanzi::QuinticEasingFunction Struct Reference

Changes the value based on the 5th order polynomial using the function f(t) = t^5. 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 based on the 5th order polynomial using the function f(t) = t^5.

QuinticEasingFunction.png
Quintic easing function: ease in, ease out, and ease in-out

Member Function Documentation

◆ operator()()

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