![]() |
FastEngine 0.9.4
A multiplayer oriented 2D engine made with Vulkan.
|
A base class to define an obstacle for the light system. More...
#include <C_lightSystem.hpp>
Public Member Functions | |
| LightObstacle (fge::Transformable const *transformableParent) | |
| LightObstacle (fge::LightObstacle const &r, fge::Transformable const *transformableParent) | |
| LightObstacle (fge::LightObstacle &&r, fge::Transformable const *transformableParent) noexcept | |
| LightObstacle (fge::LightObstacle const &r)=delete | |
| LightObstacle (fge::LightObstacle &&r) noexcept=delete | |
| fge::LightObstacle & | operator= (fge::LightObstacle const &r) |
| fge::LightObstacle & | operator= (fge::LightObstacle &&r) noexcept |
| bool | isObstacle () const final |
| fge::Transformable const & | getTransformableParent () const |
| fge::ConcavePolygon const & | getShape () const |
| void | setLightSystem (fge::LightSystem &lightSystem) |
| Set the light system to be used by this light. | |
| virtual void | updateObstacleShape () |
| void | setDefaultLightSystem (fge::Scene &scene) |
| Retrieve the default light system from a scene. | |
Protected Attributes | |
| fge::ConcavePolygon | _g_shape |
| fge::LightSystemGate | _g_lightSystemGate |
A base class to define an obstacle for the light system.
An obstacle is a group of points that define the shape of the object.
|
inlinenodiscardfinalvirtual |
Reimplemented from fge::LightComponent.
|
inlineinherited |
Retrieve the default light system from a scene.
| scene | The scene to get the light system from |
|
inlineinherited |
Set the light system to be used by this light.
| lightSystem | The light system to use |