This is the documentation for Enlighten.
class Enlighten PointLightMeta
class Enlighten::PointLightMeta
Public interface for querying common metadata of a single point light.
Functions
Name | Description |
|---|---|
Constructs a BaseLightMeta from the given internal data. | |
Checks if this light casts shadows. | |
Gets the cutoff radius of this point light. | |
Checks if this light is enabled. | |
Gets the GUID of this light. | |
Gets the intensity of this light. | |
Gets the intensity radius of this point light. | |
Gets the normalised colour of this light. | |
Gets the position of this point light. | |
Gets the radiosity multiplier of this light. | |
Some accessors return an 'invalid' object to represent nothing or not-found. |
Variables
Name | Description |
|---|---|
const MetaBlock::BaseLightData * m_Data | The internal data (inside MetaBlock). |
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.
float Enlighten::PointLightMeta::GetCutoffRadius
public: float GetCutoffRadius() const
Gets the cutoff radius of this point light.
bool Enlighten::BaseLightMeta::GetEnabled
public: bool GetEnabled() const