Navigation
API > API/Plugins > API/Plugins/MassLOD
Simplest version of UMassLODCollectorTrait that will ensure collection strictly based on Distance from Viewer.
| Name | UMassDistanceLODCollectorTrait |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassLOD/Public/MassLODTrait.h |
| Include Path | #include "MassLODTrait.h" |
Syntax
UCLASS (MinimalAPI, Meta=(DisplayName="DistanceLODCollector"))
class UMassDistanceLODCollectorTrait : public UMassEntityTraitBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMassEntityTraitBase → UMassDistanceLODCollectorTrait
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bTestCollectorProcessor | bool | Whether we should verify that the LOD collector processor associated with this trait is enabled by default | MassLODTrait.h |
|
Functions
Protected
Overridden from UMassEntityTraitBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildTemplate
(
FMassEntityTemplateBuildContext& BuildContext, |
MassLODTrait.h | ||
virtual bool ValidateTemplate
(
const FMassEntityTemplateBuildContext& BuildContext, |
MassLODTrait.h |