class Enlighten::UE4::UnrealFalloffModel::CachedData
Cached data.
Functions
Name | Description |
---|---|
CachedData(const UE4InputLight< UnrealFalloffModel > &) | Constructor. |
LineAttenuation(const ParentType &, const Geo::v128, const FourVec3s &, const FourVec3s &) | Evaluate line segment attenuation. |
PointAttenuation(const Geo::v128, const Geo::v128) | Evaluate point falloff. |
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.