This is the documentation for Enlighten.

namespace Enlighten UE4

Enlighten::UE4

Unreal Engine 4 specifics.

Classes

Name Description
Enlighten::UE4::FourVec3s

Helper class for handling 4 SoA packed 3-vectors.

Enlighten::UE4::InverseSquareFalloffModel

Inverse-square radial falloff model.

Enlighten::UE4::RectLight

A UE4 Rect Light.

Enlighten::UE4::UE4InputLight

A UE4 input light.

Enlighten::UE4::UnrealDirectionalLight

A directional light for UE4.

Enlighten::UE4::UnrealFalloffModel

Default Unreal radial falloff model.

Typedefs

Name Description
UE4InputLight< InverseSquareFalloffModel > InverseSquareFalloffLight

Typedefs for the various concrete light types.

UE4InputLight< UnrealFalloffModel > UnrealFalloffLight

Typedefs for the various concrete light types.

Functions

Name Description
Clamp(Geo::v128, Geo::v128, Geo::v128)

Clamps each component of given vector between min and max.

Saturate(Geo::v128)

Clamps each component of given vector between zero and one.

Square(T)

Calculates x * x.


GEO_CONTROLLED_INLINE Geo::v128 Enlighten::UE4::Clamp


public: GEO_CONTROLLED_INLINEGeo::v128 Clamp
(
    Geo::v128 x,
    Geo::v128 min,
    Geo::v128 max
)


Clamps each component of given vector between min and max.


GEO_CONTROLLED_INLINE Geo::v128 Enlighten::UE4::Saturate


public: GEO_CONTROLLED_INLINEGeo::v128 Saturate
(
    Geo::v128 x
)


Clamps each component of given vector between zero and one.


GEO_CONTROLLED_INLINE T Enlighten::UE4::Square


public: GEO_CONTROLLED_INLINE T Square
(
    T x
)


Calculates x * x.