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

Public Member Functions

 CTweenQuaternion (const core::quaternion &begin, const core::quaternion &end, float duration)
virtual void updateValue ()
void setBegin (const core::quaternion &begin)
void setEnd (const core::quaternion &end)
const core::quaternion & 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 ()

Protected Attributes

core::quaternion m_value
core::quaternion m_begin
core::quaternion m_end
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

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)

Member Function Documentation

◆ updateValue()

virtual void Skylicht::CTweenQuaternion::updateValue ( )
virtual

Implements Skylicht::CTween.


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