This is the documentation for Enlighten.
class Enlighten UE4 UnrealDirectionalLight
class Enlighten::UE4::UnrealDirectionalLight
A directional light for UE4.
It functions almost the same as enlighten directional light expect require visibility data from runtime
Classes
| Name | Description | 
|---|---|
| Enlighten::UE4::UnrealDirectionalLight::CachedData | Cached data for DirectionalLight. | 
Variables
| Name | Description | 
|---|---|
| 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. | 
| float m_MaximumDistance | The maximum distance from the camera at which systems are affected by this light. | 
| Geo::u64 m_Padding | Unused (this class is usually extended by one that starts with multiple v128s) | 
Functions
| Name | Description | 
|---|---|
| DistanceFilter(float) | Return true if this light affects a system at the specified distance from the viewer. | 
| InputLightBase(eLightType, bool) | Constructor. | 
| InputLightBase(eLightType) | Constructor. | 
GEO_CONTROLLED_INLINE bool Enlighten::InputLightBase::DistanceFilter
public: GEO_CONTROLLED_INLINE bool DistanceFilter
(
    float viewDistance
) const
Return true if this light affects a system at the specified distance from the viewer.
Enlighten::InputLightBase::InputLightBase
protected: InputLightBase
(
    eLightType lightType,
    bool hasChanged
)
Constructor.
Enlighten::InputLightBase::InputLightBase
protected: InputLightBase
(
    eLightType lightType
)
Constructor.