This is the documentation for Enlighten.

class Enlighten PointLight

class Enlighten::PointLight

    └>Enlighten::InputLightBase

PointLight class used by extended input lighting.

Classes

Name Description
Enlighten::PointLight::CachedData

Cached data for point light.

Variables

Name Description
float m_CutOff

The radius outside which intensity is clamped to zero; specified in Enlighten units.

const InputLightFalloffTable * m_FalloffTable

Falloff table.

bool m_HasChanged

Whether the light has changed since it was last given to the extended direct lighting api.

Geo::v128 m_Intensity

RGB intensity of the light (linear space).

const eLightType m_LightType

Type of input light corresponding to an eLightType enum value.

Geo::u64 m_Padding

Unused (this class is usually extended by one that starts with multiple v128s)

Geo::v128 m_Position

World space position of light.

float m_Radius

The radius inside which intensity is clamped to the given value; specified in Enlighten units.

Functions

Name Description
InputLightBase(eLightType)

Constructor.

InputLightBase(eLightType, bool)

Constructor.


Enlighten::InputLightBase::InputLightBase


protected: InputLightBase
(
    eLightType lightType
)


Constructor.


Enlighten::InputLightBase::InputLightBase


protected: InputLightBase
(
    eLightType lightType,
    bool hasChanged
)


Constructor.