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

#include <Tween.h>

Inheritance diagram for Tweener:
BackTweener BounceTweener CircleTweener CubicTweener ElasticTweener LinearTweener QuadTweener SineTweener

Public Member Functions

 Tweener (TweenerType tweenerType=EASE_OUT)
 
virtual ~Tweener ()=default
 
void SetEasing (TweenerType type)
 
virtual float Tween (float time, float start, float change, float duration)=0
 
virtual bool HasResumePoint () const
 

Protected Attributes

TweenerType m_tweenerType
 

Constructor & Destructor Documentation

◆ Tweener()

Tweener::Tweener ( TweenerType tweenerType = EASE_OUT)
inlineexplicit

◆ ~Tweener()

virtual Tweener::~Tweener ( )
virtualdefault

Member Function Documentation

◆ HasResumePoint()

virtual bool Tweener::HasResumePoint ( ) const
inlinevirtual

Reimplemented in LinearTweener.

◆ SetEasing()

void Tweener::SetEasing ( TweenerType type)
inline

◆ Tween()

virtual float Tweener::Tween ( float time,
float start,
float change,
float duration )
pure virtual

Member Data Documentation

◆ m_tweenerType

TweenerType Tweener::m_tweenerType
protected

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