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

Changes the value with a sine formula. More...

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

Public Member Functions

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

Detailed Description

Changes the value with a sine formula.

SineEasingFunction.png
Sine easing function: ease in, ease out, and ease in-out

Member Function Documentation

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

Computes 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: