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
&40;
FMassExecutionContext & Context,
TConstArrayView< TTransformFragment > TransformList,
TArrayView< TViewerInfoFragment > ViewersInfoList,
TArrayView< TPerViewerInfoFragment > PerViewerInfoList
&41;
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 Context of the chunk execution TransformList is the fragment transforms of the entities ViewersInfoList is the fragment where to store source information for LOD calculation PerViewerInfoList is the per viewer information