MassLOD

Choose your operating system:

Windows

macOS

Linux

Classes

Name

Description

Public struct

FLODDefaultLogic

Traits for LOD logic calculation behaviors

Public struct UStruct

FMassCollectLODViewerInfoTag

Public struct

FMassCombinedLODLogic

Public struct

FMassGenericCollectorLogic

Public struct UStruct

FMassHighLODTag

Public struct

FMassLODBaseLogic

Base struct for the LOD calculation helpers

Public struct UStruct

FMassLowLODTag

Public struct UStruct

FMassMediumLODTag

Public struct UStruct

FMassOffLODTag

Public struct UStruct

FMassRepresentationLODCollectorConfig

Public struct

FMassRepresentationLODLogic

Public struct UStruct

FMassSimulationLODConfig

Public struct UStruct

FMassSimulationLODFragment

Public struct

FMassSimulationLODLogic

Public struct UStruct

FMassSimulationLODSharedFragment

Public struct UStruct

FMassSimulationVariableTickChunkFragment

Public struct UStruct

FMassSimulationVariableTickConfig

Public struct UStruct

FMassSimulationVariableTickFragment

Public struct UStruct

FMassSimulationVariableTickSharedFragment

Public struct UStruct

FMassVariableTickChunkFragment

Public struct UStruct

FMassViewerHandle

Handle that lets you reference the concept of a viewer

Public struct UStruct

FMassViewerInfoFragment

Data fragment to store the calculated distances to viewers

Public struct UStruct

FMassVisibilityCanBeSeenTag

Public struct UStruct

FMassVisibilityCulledByDistanceTag

Public struct UStruct

FMassVisibilityCulledByFrustumTag

Public struct UStruct

FMassVisualizationChunkFragment

Public struct UStruct

FViewerInfo

Public struct

FViewerLODInfo

TMassLODCollector outputs

Public class

IMassLODModule

The public interface to this module.

Public struct

TMassLODCalculator

Helper struct to calculate LOD for each agent and maximize count per LOD Requires TViewerInfoFragment fragment collected by the TMassLODCollector.

Public struct

TMassLODCollector

Helper struct to collect needed information on each agent that will be needed later for LOD calculation Requires TTransformFragment fragment.

Public struct

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.

Public class UClass Meta

UMassLODCollectorProcessor

LOD collector which combines collection of LOD information for both Viewer and Simulation LODing when possible.

Public class UClass Meta

UMassLODCollectorTrait

Public class UClass

UMassLODManager

Manager responsible to manage and synchronized available viewers

Public class UClass Abstract

UMassProcessor_LODBase

Base mass LOD processor to store common information for all LOD processors

Public class UClass Meta

UMassRepresentationLODCollectorProcessor

LOD collector which collects LOD information for Viewer LODing when possible.

Public class UClass Meta

UMassSimulationLODProcessor

Public class UClass Meta

UMassSimulationLODTrait

Typedefs

Name

Description

FOnViewerAdded

FOnViewerRemoved

Enums

Name

Description

Public enum

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.

Public enum

EMassVisibility

Functions

Name Description

Public function

EMassLOD::Ty...

 

UE::MassLOD::GetLODFromArchetype

(
    const FMassExecutionContext& Conte...
)

Public function

const UScrip...

 

UE::MassLOD::GetLODTagFromLOD

(
    EMassLOD::Type LOD
)

Public function

bool

 

UE::MassLOD::IsLODTagSet

(
    const FMassExecutionContext& Conte...,
    EMassLOD::Type LOD
)

Variables

Name Description

Public variable

const FName

 

LOD

Public name, available to the world.

Public variable

const FName

 

LODCollector

Public variable

constexpr int32

 

MaxBucketsPerLOD

Public variable

constexpr int32

 

MaxNumOfViewers

Setup it up to 3 for as an optimization, but need a better way later constexpr int32 MaxNumOfViewers = 16;