This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels