FHierarchicalLODBuilder

This is Hierarchical LOD builder

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/HierarchicalLOD.h

Include

#include "HierarchicalLOD.h"

Syntax

struct FHierarchicalLODBuilder

Remarks

This is Hierarchical LOD builder

This builds list of clusters and make sure it's sorted in the order of lower cost to high and merge clusters

Constructors

Name Description

Public function

FHierarchicalLODBuilder()

DO NOT USE. This constructor is for internal usage only for hot-reload purposes.

Public function

FHierarchicalLODBuilder

(
    UWorld* InWorld
)

Functions

Name Description

Public function

void

 

Build()

Build, Builds the clusters and spawn LODActors with their merged Static Meshes

Public function

void

 

BuildMeshesForLODActors

(
    bool bForceAll
)

Builds the LOD meshes for all LODActors inside of the World's Levels

Public function

void

 

BuildMeshForLODActor

(
    ALODActor* LODActor,
    const uint32 LODLevel
)

Build a single LOD Actor's mesh

Public function

void

 

ClearHLODs()

Clear all the HLODs and the ALODActors that were created for them

Public function

void

 

ClearPreviewBuild()

Clear only the ALODActorsPreview

Public function

void

 

GetMeshesPackagesToSave

(
    ULevel* InLevel,
    TSet< UPackage* >& InHLODPack...,
    const FString& PreviousLevelName
)

Get the list of mesh packages to save for a given level

Public function Const

bool

 

NeedsBuild

(
    bool bInForce
)

Public function

void

 

PreviewBuild()

PreviewBuild, Builds the clusters and spawns LODActors but without actually creating/merging new StaticMeshes

Public function

void

 

SaveMeshesForActors()

Saves HLOD meshes for actors in all the World's levels

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss