Navigation
API > API/Plugins > API/Plugins/MassLOD
TMassLODCollector outputs
struct FMassViewerInfoFragment { / Closest viewer distance (Always needed) float ClosestViewerDistanceSq;
/ Square distances to each valid viewers (Required when FLODLogic::bStoreInfoPerViewer is enabled) TArray
struct FMassInfoPerViewerFragment { / Square distances to each valid viewers (Required when FLODLogic::bStoreInfoPerViewer is enabled) TArray
/ Distances to each valid viewers frustums (Required when FLODLogic::bDoVisibilityLogic and FLODLogic::bStoreInfoPerViewer are enabled) TArray
struct FMassLODFragment { / LOD information TEnumAsByte
/ Visibility information (Required when FLODLogic::bDoVisibilityLogic is enabled) EMassVisibility Visibility; EMassVisibility PrevVisibility
/ Floating point LOD value, scaling from 0 to 3, 0 highest LOD and 3 being completely off LOD / (Required only when FLODLogic::bCalculateLODSignificance is enabled) float LODSignificance = 0.0f; //
/ Per viewer LOD information (Required when FLODLogic::bCalculateLODPerViewer is enabled) TArray
/ Visibility information per viewer (Required when FLODLogic::bDoVisibilityLogic and FLODLogicbStoreInfoPerViewer are enabled) TArray
struct FMassVariableTickFragment { / Accumulated DeltaTime float DeltaTime = 0.0f; float LastTickedTime = 0.0f; };
| Name | FViewerLODInfo |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassLOD/Public/MassLODLogic.h |
| Include Path | #include "MassLODLogic.h" |
Syntax
struct FViewerLODInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClearData | bool | Boolean indicating the viewer data needs to be cleared | MassLODLogic.h | |
| bLocal | bool | Boolean indicating the viewer is local or not | MassLODLogic.h | |
| Direction | FVector | MassLODLogic.h | ||
| Frustum | FConvexVolume | Viewer frustum (will not include near and far planes) | MassLODLogic.h | |
| Handle | FMassViewerHandle | The handle to the viewer | MassLODLogic.h | |
| Location | FVector | Viewer location and looking direction | MassLODLogic.h |