This is the documentation for Enlighten.

class Enlighten RectangleLight

class Enlighten::RectangleLight

    └>Enlighten::InputLightBase

RectangleLight class used by extended input lighting.

Classes

Name Description
Enlighten::RectangleLight::CachedData

Cached data for rectangle light.

Variables

Name Description
Geo::v128 m_Direction

Forward direction.

bool m_HasChanged

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

float m_Height

Height.

Geo::v128 m_Intensity

Intensity.

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

Position.

Geo::v128 m_RightDirection

Right direction.

Geo::v128 m_UpDirection

Up direction.

float m_Width

Width.

Functions

Name Description
InputLightBase(eLightType)

Constructor.

InputLightBase(eLightType, bool)

Constructor.

RectangleLight()

Constructor.


Enlighten::InputLightBase::InputLightBase


protected: InputLightBase
(
    eLightType lightType
)


Constructor.


Enlighten::InputLightBase::InputLightBase


protected: InputLightBase
(
    eLightType lightType,
    bool hasChanged
)


Constructor.


Enlighten::RectangleLight::RectangleLight


public: RectangleLight()


Constructor.