Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CTweenFloat Class Reference
Inheritance diagram for Skylicht::CTweenFloat:
Skylicht::CTween

Public Member Functions

 CTweenFloat (float begin, float end, float duration)
void setBegin (float begin)
void setEnd (float end)
virtual void updateValue ()
float getValue ()
Public Member Functions inherited from Skylicht::CTween
void update ()
void run ()
void stop ()
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 ()

Additional Inherited Members

Public Attributes inherited from Skylicht::CTween
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 inherited from Skylicht::CTween
void setBeginValue (int index, float value)
void setEndValue (int index, float value)
void setNumValue (int num)
float getValueByIndex (int index)
Protected Attributes inherited from Skylicht::CTween
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

Member Function Documentation

◆ updateValue()

virtual void Skylicht::CTweenFloat::updateValue ( )
virtual

Implements Skylicht::CTween.


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