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
&40;
FMassExecutionContext & Context,
TConstArrayView< TTransformFragment > TransformList,
TArrayView< TViewerInfoFragment > ViewersInfoList
&41;
Remarks
Collects the information for LOD calculation, called for each entity chunks Use next method when FLODLogic::bStoreInfoPerViewer is enabled 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