- Vrealmatic
- Unreal Engine Wiki
- Mass Framework
- LODCollector
LODCollector in Mass Framework
How does LODCollector work in Mass Framework? Mass Framework is an ECS for managing crowds and traffic, available since Unreal Engine 5.0. Engine code excerpts below were taken from UE 5.3 - check the source of your engine version (UE 5.8) for implementation details.

LODCollector with MassGameplay built-in resources
LODCollector Trait
- Built-in
MassGameplay. - Trait located At
UE5/Engine/Plugins/Runtime/MassGameplay/Source/MassLOD. LODCollectortrait shares the same Trait file withSimulationLOD.
.hUCLASS(meta = (DisplayName = "LODCollector")) class MASSLOD_API UMassLODCollectorTrait : public UMassEntityTraitBase { GENERATED_BODY() public: virtual void BuildTemplate(FMassEntityTemplateBuildContext& BuildContext, const UWorld& World) const override; };.cppvoid UMassLODCollectorTrait::BuildTemplate(FMassEntityTemplateBuildContext& BuildContext, const UWorld& World) const { BuildContext.AddFragment<FMassViewerInfoFragment>(); BuildContext.AddTag<FMassCollectLODViewerInfoTag>(); BuildContext.RequireFragment<FTransformFragment>(); }- Built-in
