Navigation
API > API/Plugins > API/Plugins/MassLOD > API/Plugins/MassLOD/TMassLODCalculator
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AdjustLODFromCount
(
FMassExecutionContext& Context, |
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 | MassLODCalculator.h | |
void AdjustLODFromCount
(
FMassExecutionContext& Context, |
Adjust LOD from newly adjusted distances, only needed to be called when AdjustDistancesFromCount return true, called for each entity chunks Use this version when FLODLogic::bStoreInfoPerViewer is enabled It calculates a LOD per viewer and needs information per viewer via PerViewerInfoList fragments @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 @Param PerViewerInfoList is the Per viewer source information | MassLODCalculator.h |
AdjustLODFromCount(FMassExecutionContext &, TConstArrayView< TViewerInfoFragment >, TArrayView< TLODFragment >)
Description
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
| Name | AdjustLODFromCount |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassLOD/Public/MassLODCalculator.h |
| Include Path | #include "MassLODCalculator.h" |
template<typename TViewerInfoFragment, typename TLODFragment, bool bCalculateLocalViewers, bool bCalculateVisibility>
void AdjustLODFromCount
(
FMassExecutionContext & Context,
TConstArrayView< TViewerInfoFragment > ViewersInfoList,
TArrayView < TLODFragment > LODList
)
AdjustLODFromCount(FMassExecutionContext &, TConstArrayView< TViewerInfoFragment >, TArrayView< TLODFragment >, TConstArrayView< TPerViewerInfoFragment >)
Description
Adjust LOD from newly adjusted distances, only needed to be called when AdjustDistancesFromCount return true, called for each entity chunks Use this version when FLODLogic::bStoreInfoPerViewer is enabled It calculates a LOD per viewer and needs information per viewer via PerViewerInfoList fragments @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 @Param PerViewerInfoList is the Per viewer source information
| Name | AdjustLODFromCount |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassLOD/Public/MassLODCalculator.h |
| Include Path | #include "MassLODCalculator.h" |
template<typename TViewerInfoFragment, typename TLODFragment, typename TPerViewerInfoFragment, bool bCalculateLocalViewers, bool bCalculateVisibility, bool bCalculateLODPerViewer, bool bCalculateVisibilityPerViewer, bool bMaximizeCountPerViewer>
void AdjustLODFromCount
(
FMassExecutionContext & Context,
TConstArrayView< TViewerInfoFragment > ViewersInfoList,
TArrayView < TLODFragment > LODList,
TConstArrayView< TPerViewerInfoFragment > PerViewerInfoList
)