Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CTween Class Referenceabstract
Inheritance diagram for Skylicht::CTween:
Skylicht::CTweenColor Skylicht::CTweenFloat Skylicht::CTweenMatrix4 Skylicht::CTweenQuaternion Skylicht::CTweenVector2df Skylicht::CTweenVector3df

Public Member Functions

void update ()
void run ()
void stop ()
virtual void updateValue ()=0
void setEase (EEasingFunctions ease)
EEasingFunctions getEase ()
void setDelay (float delay)
float getDelay ()
void setEndDelay (float delay)
float getEndDelay ()
void setTime (float time)
float getTime ()
void setDuration (float duration)
float getDuration ()
float getPercentTime ()
float getPercentValue ()
void setUseScaledTime (bool b)
bool isUseScaledTime ()

Public Attributes

std::function< void(CTween *)> OnUpdate
std::function< void(CTween *)> OnFinish
std::function< void(CTween *)> OnStart
std::function< void(CTween *)> OnStop
std::function< void(CTween *)> OnDelay
std::function< void(CTween *)> OnEndDelay

Protected Member Functions

void setBeginValue (int index, float value)
void setEndValue (int index, float value)
void setNumValue (int num)
float getValueByIndex (int index)

Protected Attributes

bool m_useScaledTime
float m_time
float m_delay
float m_endDelay
float m_duration
float m_percentTime
float m_percentValue
EEasingFunctions m_ease
EasingFunction m_function
float m_fromValue [MAX_TWEEN_VALUE]
float m_toValue [MAX_TWEEN_VALUE]
float m_value [MAX_TWEEN_VALUE]
int m_numValue
bool m_start

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