|
RavEngine
|
#include <Light.hpp>
Public Member Functions | |
| constexpr void | SetColorRGBA (const decltype(color)&inColor) |
| constexpr const decltype(color) & | GetColorRGBA () const |
| constexpr void | SetIntensity (decltype(Intensity) inIntensity) |
| constexpr decltype(Intensity) | GetIntensity () const |
| constexpr bool | isInvalidated () const |
| constexpr void | clearInvalidate () |
| constexpr void | SetIlluminationLayers (renderlayer_t layers) |
| constexpr auto | GetIlluminationLayers () |
Public Member Functions inherited from RavEngine::IDebugRenderable | |
| virtual void | DebugDraw (RavEngine::DebugDrawer &dbg, const Transform &transform) const =0 |
Protected Member Functions | |
| constexpr void | invalidate () |
Protected Attributes | |
| bool | tickInvalidated = true |
Additional Inherited Members | |
Public Types inherited from RavEngine::Queryable< Light, IDebugRenderable > | |
| typedef std::array< ctti_t, ntypes > | arraytype |
Static Public Member Functions inherited from RavEngine::Queryable< Light, IDebugRenderable > | |
| static constexpr const arraytype & | GetQueryTypes () |
Public Attributes inherited from RavEngine::Queryable< Light, IDebugRenderable > | |
| constexpr | q_qt_def |
Public Attributes inherited from RavEngine::IDebugRenderable | |
| bool | debugEnabled = false |
| color_t | debug_color = 0xFFFFFFFF |
Static Public Attributes inherited from RavEngine::Queryable< Light, IDebugRenderable > | |
| static constexpr std::size_t | ntypes |
Represents a light-emitting object. Lights can be constrained to specific objects with layers. By default, lights will illuminate objects on any layer.
|
inlineconstexpr |
Set the layers that this light will illuminate. If a bit is unset, that layer is not illuminated.
| layers | illumination bitmask |