Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CSprite Class Reference
Inheritance diagram for Skylicht::CSprite:
Skylicht::CComponentSystem Skylicht::IActivatorObject

Public Member Functions

virtual void initComponent ()
virtual void updateComponent ()
void setColor (const SColor &color)
const SColor & getColor ()
void setScale (float scale)
float getScale ()
float getViewScale ()
void setTexture (ITexture *texture, float scale, const SColor &color)
void setFrame (SFrame *frame, float scale, const SColor &color)
void setCenter (bool b)
void setBillboard (bool b)
void setAutoScaleInViewSpace (bool b)
Public Member Functions inherited from Skylicht::CComponentSystem
const char * getName ()
virtual void reset ()
virtual void startComponent ()
virtual void endUpdate ()
virtual void onEnable (bool b)
virtual void onUpdateCullingLayer (u32 mask)
virtual CObjectSerializable * createSerializable ()
virtual void loadSerializable (CObjectSerializable *object)
void setEnable (bool b)
bool isEnable ()
CGameObject * getGameObject ()
void setEnableSerializable (bool b)
bool isSerializable ()
void addLinkComponent (CComponentSystem *comp)
void removeAllLink ()
Public Member Functions inherited from Skylicht::IActivatorObject
virtual ~IActivatorObject ()
 Virtual destructor for polymorphic activator objects.

Protected Attributes

CSpriteDrawData * m_data
Protected Attributes inherited from Skylicht::CComponentSystem
CGameObject * m_gameObject
bool m_enable
bool m_serializable
std::vector< CComponentSystem * > m_linkComponent

Additional Inherited Members

Static Public Member Functions inherited from Skylicht::CComponentSystem
static int useComponent (CComponentSystem *used)
Protected Member Functions inherited from Skylicht::CComponentSystem
void setOwner (CGameObject *obj)

Member Function Documentation

◆ initComponent()

virtual void Skylicht::CSprite::initComponent ( )
virtual

◆ updateComponent()

virtual void Skylicht::CSprite::updateComponent ( )
virtual

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