RavEngine
Loading...
Searching...
No Matches
RavEngine::AmbientLight Struct Reference
Inheritance diagram for RavEngine::AmbientLight:
[legend]
Collaboration diagram for RavEngine::AmbientLight:
[legend]

Public Types

using light_t = AmbientLight
 
- Public Types inherited from RavEngine::Queryable< Light, IDebugRenderable >
typedef std::array< ctti_t, ntypes > arraytype
 
- Public Types inherited from RavEngine::QueryableDelta< Light, AmbientLight >
typedef std::array< ctti_t, ntypes > arraytype
 

Public Member Functions

constexpr bool CastsShadows () const
 
void DebugDraw (RavEngine::DebugDrawer &, const Transform &) const override
 
- Public Member Functions inherited from RavEngine::Light
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 Attributes

std::optional< EnvironmentLight > environment
 
- 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
 
- Public Attributes inherited from RavEngine::QueryableDelta< Light, AmbientLight >
constexpr qb_qt_def
 

Additional Inherited Members

- Static Public Member Functions inherited from RavEngine::Queryable< Light, IDebugRenderable >
static constexpr const arraytype & GetQueryTypes ()
 
- Static Public Member Functions inherited from RavEngine::QueryableDelta< Light, AmbientLight >
static constexpr const arraytype & GetQueryTypes ()
 
- Static Public Attributes inherited from RavEngine::Queryable< Light, IDebugRenderable >
static constexpr std::size_t ntypes
 
- Static Public Attributes inherited from RavEngine::QueryableDelta< Light, AmbientLight >
static constexpr std::size_t ntypes
 
- Protected Member Functions inherited from RavEngine::Light
constexpr void invalidate ()
 
- Protected Attributes inherited from RavEngine::Light
bool tickInvalidated = true
 

Member Function Documentation

◆ DebugDraw()

void AmbientLight::DebugDraw ( RavEngine::DebugDrawer &  dbg,
const Transform &  transform 
) const
overridevirtual

Draw a wireframe shape representing the boundary of this object

Parameters
colorthe hex color to use to draw, in format 0xRRGGBBAA

Implements RavEngine::IDebugRenderable.


The documentation for this struct was generated from the following files: