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, typename TPerViewerInfoFragment, bool bCollectLocalViewers, bool bCollectDistanceToFrustum, bool bCollectDistancePerViewer, bool bCollectDistanceToFrustumPerViewer>
void CollectLODInfo
(
FMassExecutionContext & Context,
TConstArrayView< TTransformFragment > TransformList,
TArrayView < TViewerInfoFragment > ViewersInfoList,
TArrayView < TPerViewerInfoFragment > PerViewerInfoList
)
Remarks
Collects the information for LOD calculation, called for each entity chunks Use this version when FLODLogic::bStoreInfoPerViewer is enabled It collects information per viewer into the PerViewerInfoList fragments @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 @Param PerViewerInfoList is the per viewer information