Navigation
API > API/Plugins > API/Plugins/MassLOD > API/Plugins/MassLOD/TMassLODCollector > API/Plugins/MassLOD/TMassLODCollector/CollectLODInfo
References
| Module | MassLOD |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassLOD/Public/MassLODCollector.h |
| Include | #include "MassLODCollector.h" |
template<typename TTransformFragment, typename TViewerInfoFragment, bool bCollectLocalViewers, bool bCollectDistanceToFrustum>
void CollectLODInfo
(
FMassExecutionContext & Context,
TConstArrayView< TTransformFragment > TransformList,
TArrayView < TViewerInfoFragment > ViewersInfoList
)
Remarks
Collects the information for LOD calculation, called for each entity chunks Use next method when FLODLogic::bStoreInfoPerViewer is enabled @Param Context of the chunk execution @Param TransformList is the fragment transforms of the entities @Param ViewersInfoList is the fragment where to store source information for LOD calculation