![]() |
FastEngine 0.9.4
A multiplayer oriented 2D engine made with Vulkan.
|
A base class that define a light component. More...
#include <C_lightSystem.hpp>
Public Member Functions | |
| LightComponent (fge::LightComponent const &r) | |
| LightComponent (fge::LightComponent &&r) noexcept | |
| LightComponent & | operator= (fge::LightComponent const &r) |
| LightComponent & | operator= (fge::LightComponent &&r) noexcept |
| void | setLightSystem (fge::LightSystem &lightSystem) |
| Set the light system to be used by this light. | |
| virtual bool | isObstacle () const |
| virtual void | updateObstacleShape () |
| void | setDefaultLightSystem (fge::Scene &scene) |
| Retrieve the default light system from a scene. | |
Protected Attributes | |
| fge::LightSystemGate | _g_lightSystemGate |
A base class that define a light component.
|
inline |
Retrieve the default light system from a scene.
| scene | The scene to get the light system from |
|
inline |
Set the light system to be used by this light.
| lightSystem | The light system to use |