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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback