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

Changes the value using a circular function. More...

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

Public Member Functions

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

Detailed Description

Changes the value using a circular function.

CircleEasingFunction.png
Circle easing function: ease in, ease out, and ease in-out

Member Function Documentation

◆ operator()()

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

Computes the value of an 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: