class Enlighten BaseLightMeta

This is the documentation for Enlighten.

class Enlighten BaseLightMeta

class Enlighten::BaseLightMeta

 

Public interface for querying common metadata of a single light (shared by spotlights, point lights etc.).

Variables

Name

Description

Name

Description

const MetaBlock::BaseLightData * m_Data

The internal data (inside MetaBlock).

Functions

Name

Description

Name

Description

BaseLightMeta(const MetaBlock::BaseLightData *)

Constructs a BaseLightMeta from the given internal data.

GetCastsShadows()

Checks if this light casts shadows.

GetEnabled()

Checks if this light is enabled.

GetGuid()

Gets the GUID of this light.

GetIntensity()

Gets the intensity of this light.

GetNormalisedColour()

Gets the normalised colour of this light.

GetRadiosityMultiplier()

Gets the radiosity multiplier of this light.

IsValid()

Some accessors return an 'invalid' object to represent nothing or not-found.



Enlighten::BaseLightMeta::BaseLightMeta


protected: BaseLightMeta
(
    const MetaBlock::BaseLightData * data
)


Constructs a BaseLightMeta from the given internal data.



bool Enlighten::BaseLightMeta::GetCastsShadows


public: bool GetCastsShadows() const


Checks if this light casts shadows.



bool Enlighten::BaseLightMeta::GetEnabled


public: bool GetEnabled() const


Checks if this light is enabled.



const Geo::GeoGuid& Enlighten::BaseLightMeta::GetGuid


public: const Geo::GeoGuid & GetGuid() const


Gets the GUID of this light.