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

Public Member Functions

virtual void initComponent ()
virtual void updateComponent ()
virtual CObjectSerializablecreateSerializable ()
virtual void loadSerializable (CObjectSerializable *object)
virtual CEntityspawn ()
virtual void removeEntity (CEntity *entity)
virtual void removeAllEntities ()
void loadCustomMaterial (const char *materialFile)
void setTextureFile (const char *textureFile)
void setTexture (ITexture *texture)
CMaterialgetMaterial ()
u32 getNumPoint ()
CLineRenderDatagetLineData ()
CWorldTransformDatagetPoint (u32 id)
void setPoints (const std::vector< core::vector3df > &position)
void setColor (const SColor &c)
const SColorgetColor ()
void setWidth (float w)
float getWidth ()
void setBillboard (bool b)
bool isBillboard ()
Public Member Functions inherited from Skylicht::CEntityHandler
virtual void onUpdateCullingLayer (u32 mask)
CEntitysearchEntityByID (const char *id)
virtual CEntitycreateEntity ()
virtual CEntitycreateEntity (CEntity *parent)
void regenerateEntityId ()
core::array< CEntity * > & getEntities ()
int getEntityCount ()
void getEntitiesTransforms (core::array< core::matrix4 > &result)
void setShadowCasting (bool b)
bool isShadowCasting ()
Public Member Functions inherited from Skylicht::CComponentSystem
const char * getName ()
virtual void reset ()
virtual void startComponent ()
virtual void endUpdate ()
virtual void onEnable (bool b)
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 Member Functions

void updateData ()
Protected Member Functions inherited from Skylicht::CEntityHandler
void setEntities (CEntity **entities, u32 count)
void removeChilds (CEntity *entity)
Protected Member Functions inherited from Skylicht::CComponentSystem
void setOwner (CGameObject *obj)

Protected Attributes

CLineRenderDatam_lineData
CCullingBBoxDatam_culling
float m_lineWidth
SColor m_color
bool m_billboard
bool m_useCustomMaterial
std::string m_textureFile
std::string m_materialFile
CMaterialm_material
CMaterialm_customMaterial
Protected Attributes inherited from Skylicht::CEntityHandler
core::array< CEntity * > m_entities
bool m_shadowCasting
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)

Member Function Documentation

◆ createSerializable()

virtual CObjectSerializable * Skylicht::CRenderLine::createSerializable ( )
virtual

Reimplemented from Skylicht::CComponentSystem.

◆ initComponent()

virtual void Skylicht::CRenderLine::initComponent ( )
virtual

Reimplemented from Skylicht::CEntityHandler.

◆ loadSerializable()

virtual void Skylicht::CRenderLine::loadSerializable ( CObjectSerializable * object)
virtual

Reimplemented from Skylicht::CComponentSystem.

◆ removeAllEntities()

virtual void Skylicht::CRenderLine::removeAllEntities ( )
virtual

Reimplemented from Skylicht::CEntityHandler.

◆ removeEntity()

virtual void Skylicht::CRenderLine::removeEntity ( CEntity * entity)
virtual

Reimplemented from Skylicht::CEntityHandler.

◆ spawn()

virtual CEntity * Skylicht::CRenderLine::spawn ( )
virtual

Reimplemented from Skylicht::CEntityHandler.

◆ updateComponent()

virtual void Skylicht::CRenderLine::updateComponent ( )
virtual

Reimplemented from Skylicht::CEntityHandler.


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