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

Public Types

enum  EBakeSize { Size512 , Size1024 , Size2048 , Size4096 }

Public Member Functions

virtual void initComponent ()
virtual void updateComponent ()
virtual CObjectSerializablecreateSerializable ()
virtual void loadSerializable (CObjectSerializable *object)
bool bakeAll ()
bool bakeUV0 ()
bool bakeDetailNormal ()
bool combineDirectionLightColor ()
u32 getBakeSize ()
float getShadowBias ()
const char * getOutputFolder ()
const char * getOutputFile ()
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)
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

bool m_bakeAll
bool m_bakeUV0
bool m_bakeDetailNormal
float m_shadowBias
bool m_combineDirectionLightColor
std::string m_outputFolder
std::string m_outputFile
EBakeSize m_bakeSize
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

◆ createSerializable()

virtual CObjectSerializable * Skylicht::Lightmapper::CBakeLightComponent::createSerializable ( )
virtual

Reimplemented from Skylicht::CComponentSystem.

◆ initComponent()

virtual void Skylicht::Lightmapper::CBakeLightComponent::initComponent ( )
virtual

◆ loadSerializable()

virtual void Skylicht::Lightmapper::CBakeLightComponent::loadSerializable ( CObjectSerializable * object)
virtual

Reimplemented from Skylicht::CComponentSystem.

◆ updateComponent()

virtual void Skylicht::Lightmapper::CBakeLightComponent::updateComponent ( )
virtual

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