Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::UI::CFrameMotion Class Reference
Inheritance diagram for Skylicht::UI::CFrameMotion:
Skylicht::UI::CMotion

Public Member Functions

 CFrameMotion (SFrame *frame)
 CFrameMotion (std::vector< SFrame * > &frames)
virtual void init (CGUIElement *gui)
virtual void start ()
void setFrame (SFrame *frame)
Public Member Functions inherited from Skylicht::UI::CMotion
virtual void stop ()
bool isPlaying ()
CMotion * setTime (float delay, float duration)
CMotion * setEvent (EMotionEvent e)
CMotion * setEasingFunction (EEasingFunctions f)
CMotion * setInverse (bool b)
CMotion * setToDefault (bool b)

Protected Member Functions

void setFrame (float f)

Protected Attributes

SFramem_defaultFrame
std::vector< SFrame * > m_frames
Protected Attributes inherited from Skylicht::UI::CMotion
CTweenm_tween
CGUIElementm_gui
float m_delay
float m_duration
EMotionEvent m_event
EEasingFunctions m_ease
bool m_toDefault
bool m_inverseMotion

Member Function Documentation

◆ init()

virtual void Skylicht::UI::CFrameMotion::init ( CGUIElement * gui)
virtual

Reimplemented from Skylicht::UI::CMotion.

◆ start()

virtual void Skylicht::UI::CFrameMotion::start ( )
virtual

Implements Skylicht::UI::CMotion.


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