![]() |
Skylicht Engine
|
The object class enables mapping reflection onto the Object. More...
#include <ReflectionProbe/CReflectionProbe.h>
Public Member Functions | |
| virtual void | initComponent () |
| virtual void | updateComponent () |
| virtual CObjectSerializable * | createSerializable () |
| virtual void | loadSerializable (CObjectSerializable *object) |
| bool | loadStaticTexture (const char *path) |
| void | bakeProbe (CCamera *camera, IRenderPipeline *rp, CEntityManager *entityMgr) |
| void | bakeProbeToFile (CCamera *camera, IRenderPipeline *rp, CEntityManager *entityMgr, const char *outfolder, const char *outname) |
| video::ITexture * | getReflectionTexture () |
| u32 | getLightLayers () |
| void | setLightLayers (u32 layers) |
| 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 Member Functions | |
| void | removeBakeTexture () |
| void | removeStaticTexture () |
| Protected Member Functions inherited from Skylicht::CComponentSystem | |
| void | setOwner (CGameObject *obj) |
Protected Attributes | |
| video::ITexture * | m_staticTexture |
| video::ITexture * | m_bakedTexture |
| std::string | m_staticPath |
| EReflectionSize | m_size |
| core::dimension2du | m_bakeSize |
| video::ITexture * | m_bakeTexture [6] |
| CReflectionProbeData * | m_probeData |
| EReflectionType | m_type |
| video::ITexture * | m_textureWillRemoved |
| u32 | m_lightLayers |
| 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) |
The object class enables mapping reflection onto the Object.
CReflectionProbe supports loading reflection images from a texture file, or it can be baked directly from the 3D scene.
You can use Skylicht-Editor to select a texture, bake, or save the baked results to a reflection cube texture.
|
virtual |
Reimplemented from Skylicht::CComponentSystem.
|
virtual |
Implements Skylicht::CComponentSystem.
|
virtual |
Reimplemented from Skylicht::CComponentSystem.
|
virtual |
Implements Skylicht::CComponentSystem.