This is the documentation for Enlighten.

class Enlighten UE4 InverseSquareFalloffModel CachedData

class Enlighten::UE4::InverseSquareFalloffModel::CachedData

Cached data.

Functions


Enlighten::UE4::InverseSquareFalloffModel::CachedData::CachedData


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


Constructor.


GEO_CONTROLLED_INLINE Geo::v128 Enlighten::UE4::InverseSquareFalloffModel::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::InverseSquareFalloffModel::CachedData::PointAttenuation


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


Evaluate point falloff.