Navigation
| Name | MassLOD |
| Type | Runtime |
| Part of Plugins | MassGameplay |
| Location | /Engine/Plugins/Runtime/MassGameplay/Source/MassLOD/ |
| Module Build Rules | MassLOD.Build.cs |
Classes
| Name | Remarks |
|---|---|
| UMassDistanceLODCollectorTrait | Simplest version of UMassLODCollectorTrait that will ensure collection strictly based on Distance from Viewer. |
| UMassLODCollectorProcessor | LOD collector which combines collection of LOD information for both Viewer and Simulation LODing when possible. |
| UMassLODCollectorTrait | |
| UMassLODDistanceCollectorProcessor | LOD Distance collector which combines collection of LOD information for both Viewer and Simulation LODing. |
| UMassLODSubsystem | Manager responsible to manage and synchronized available viewers |
| UMassSimulationLODProcessor | |
| UMassSimulationLODTrait |
Structs
| Name | Remarks |
|---|---|
| FLODDefaultLogic | Traits for LOD logic calculation behaviors |
| FMassCollectDistanceLODViewerInfoTag | Tag to use to trigger the collector processor that uses the LODCollector without Visibility Logic, so strictly based of distance |
| FMassCollectLODViewerInfoTag | |
| FMassCombinedLODLogic | |
| FMassDistanceLODLogic | Simplest version of RepresentationLODLogic strictly based on Distance to Viewer Compared to FMassRepresentationLODLogic, we: |
| FMassGenericCollectorLogic | |
| FMassHighLODTag | |
| FMassLODBaseLogic | Base struct for the LOD calculation helpers |
| FMassLowLODTag | |
| FMassMediumLODTag | |
| FMassOffLODTag | |
| FMassRepresentationLODLogic | |
| FMassSimulationLODFragment | |
| FMassSimulationLODLogic | |
| FMassSimulationLODParameters | |
| FMassSimulationLODSharedFragment | |
| FMassSimulationVariableTickChunkFragment | |
| FMassSimulationVariableTickFragment | |
| FMassSimulationVariableTickParameters | |
| FMassSimulationVariableTickSharedFragment | |
| FMassVariableTickChunkFragment | |
| FMassViewerHandle | Handle that lets you reference the concept of a viewer |
| FMassViewerInfoFragment | Data fragment to store the calculated distances to viewers |
| FMassVisibilityCanBeSeenTag | |
| FMassVisibilityCulledByDistanceTag | |
| FMassVisibilityCulledByFrustumTag | |
| FMassVisualizationChunkFragment | |
| FViewerInfo | |
| FViewerLODInfo | TMassLODCollector outputs |
| TMassLODCalculator | Helper struct to calculate LOD for each agent and maximize count per LOD Requires TViewerInfoFragment fragment collected by the TMassLODCollector. |
| TMassLODCollector | Helper struct to collect needed information on each agent that will be needed later for LOD calculation Requires TTransformFragment fragment. |
| TMassLODTagForLevel | |
| TMassLODTickRateController | Helper struct to control LOD tick rate for each agent, It will add a fragment tag to group the agent of the same LOD together, that way the user can do tick rate logic per chunk. |
Interfaces
| Name | Remarks |
|---|---|
| IMassLODModule | The public interface to this module. |
Enums
Public
| Name | Remarks |
|---|---|
| EMassLOD::Type | We are not using enum class here because we are doing so many arithmetic operation and comparison on them that it is not worth polluting int32 casts everywhere in the code. |
| EMassVisibility |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaxBucketsPerLOD | int32 | MassLODTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EMassLOD::Type UE::MassLOD::GetLODFromArchetype
(
const FMassExecutionContext& Context |
MassLODUtils.h | ||
const UScriptStruct * UE::MassLOD::GetLODTagFromLOD
(
EMassLOD::Type LOD |
MassLODUtils.h | ||
bool UE::MassLOD::IsLODTagSet
(
const FMassExecutionContext& Context, |
MassLODUtils.h |