Navigation
API > API/Plugins > API/Plugins/MassLOD > API/Plugins/MassLOD/TMassLODCalculator > API/Plugins/MassLOD/TMassLODCalculator/AdjustLODFromCount
References
| Module | MassLOD |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassLOD/Public/MassLODCalculator.h |
| Include | #include "MassLODCalculator.h" |
template<typename TViewerInfoFragment, typename TLODFragment, bool bCalculateLocalViewers, bool bCalculateVisibility>
void AdjustLODFromCount
(
FMassExecutionContext & Context,
TConstArrayView< TViewerInfoFragment > ViewersInfoList,
TArrayView < TLODFragment > LODList
)
Remarks
Adjust LOD from newly adjusted distances, only needed to be called when AdjustDistancesFromCount return true, called for each entity chunks Use next method when FLODLogic::bStoreInfoPerViewer is enabled @Param Context of the chunk execution @Param ViewersInfoList is the source information fragment for LOD calculation @Param LODList is the fragment where calculation are stored