Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ElasticTweener Class Reference

#include <Tween.h>

Inheritance diagram for ElasticTweener:
Tweener

Public Member Functions

 ElasticTweener (float a=0.0, float p=0.0)
 
float Tween (float time, float start, float change, float duration) override
 
- Public Member Functions inherited from Tweener
 Tweener (TweenerType tweenerType=EASE_OUT)
 
virtual ~Tweener ()=default
 
void SetEasing (TweenerType type)
 
virtual bool HasResumePoint () const
 

Protected Member Functions

float easeIn (float time, float start, float change, float duration) const
 
float easeOut (float time, float start, float change, float duration) const
 
float easeInOut (float time, float start, float change, float duration) const
 

Protected Attributes

float _a
 
float _p
 
- Protected Attributes inherited from Tweener
TweenerType m_tweenerType
 

Constructor & Destructor Documentation

◆ ElasticTweener()

ElasticTweener::ElasticTweener ( float a = 0.0,
float p = 0.0 )
inline

Member Function Documentation

◆ easeIn()

float ElasticTweener::easeIn ( float time,
float start,
float change,
float duration ) const
inlineprotected

◆ easeInOut()

float ElasticTweener::easeInOut ( float time,
float start,
float change,
float duration ) const
inlineprotected

◆ easeOut()

float ElasticTweener::easeOut ( float time,
float start,
float change,
float duration ) const
inlineprotected

◆ Tween()

float ElasticTweener::Tween ( float time,
float start,
float change,
float duration )
inlineoverridevirtual

Implements Tweener.

Member Data Documentation

◆ _a

float ElasticTweener::_a
protected

◆ _p

float ElasticTweener::_p
protected

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