This is the documentation for Enlighten.

class Enlighten UE4 UnrealFalloffModel CachedData

class Enlighten::UE4::UnrealFalloffModel::CachedData

Cached data.

Functions


Enlighten::UE4::UnrealFalloffModel::CachedData::CachedData


public: CachedData
(
    const UE4InputLight< UnrealFalloffModel > & light
)


Constructor.


GEO_CONTROLLED_INLINE Geo::v128 Enlighten::UE4::UnrealFalloffModel::CachedData::LineAttenuation


public: GEO_CONTROLLED_INLINEGeo::v128 LineAttenuation
(
    const ParentType & Parent,
    const Geo::v128 squareLD,
    const FourVec3s & LightDisplacements,
    const FourVec3s & Normals
) const


Evaluate line segment attenuation.


GEO_CONTROLLED_INLINE Geo::v128 Enlighten::UE4::UnrealFalloffModel::CachedData::PointAttenuation


public: GEO_CONTROLLED_INLINEGeo::v128 PointAttenuation
(
    const Geo::v128 squareLD,
    const Geo::v128 recipLD
) const


Evaluate point falloff.