Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::UE4::UnrealDirectionalLight

    └>Enlighten::InputLightBase

A directional light for UE4.

It functions almost the same as enlighten directional light expect require visibility data from runtime

Classes

Variables

NameDescription
Geo::v128 m_Direction

World space direction of light.

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)

Functions

NameDescription
InputLightBase(eLightType)

Constructor.

InputLightBase(eLightType, bool)

Constructor.


Anchor
a1e800e092db44a3676d766c6b1317085
a1e800e092db44a3676d766c6b1317085

Enlighten::InputLightBase::InputLightBase

...

protected: InputLightBase
(
    eLightType lightType
)

...

Constructor.


Anchor
a8f8299daadfb542d3d6821951b936188
a8f8299daadfb542d3d6821951b936188

Enlighten::InputLightBase::InputLightBase

...

protected: InputLightBase
(
    eLightType lightType,
    bool hasChanged
)

...

Constructor.