ULODSyncComponent

Implement an Actor component for LOD Sync of different components

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/LODSyncComponent.h

Include

#include "Components/LODSyncComponent.h"

Syntax

class ULODSyncComponent : public UActorComponent

Remarks

Implement an Actor component for LOD Sync of different components

This is a component that allows multiple different components to sync together of their LOD

This allows to find the highest LOD of all the parts, and sync to that LOD

Variables

Name Description

Public variable

TArray< FCompon...

 

ComponentsToSync

Array of components whose LOD may drive or be driven by this component.

Public variable

TMap< FName, FL...

 

CustomLODMapping

But if you want custom, add here.

Public variable

int32

 

ForcedLOD

If -1, it's automatically switching

Public variable

int32

 

MinLOD

Minimum LOD to use when syncing components.

Public variable

int32

 

NumLODs

If -1, it's default and it will calculate the max number of LODs from all sub components if not, it is a number of LODs (not the max index of LODs)

Constructors

Name Description

Public function

ULODSyncComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

FString

 

GetLODSyncDebugText()

Returns a string detailing

Public function

void

 

RefreshSyncComponents()