Language:
Discover
By Skill Level
By Category

FHierarchicalLODBuilder

Choose your OS:

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

bool

 

NeedsBuild

(
    bool bInForce
)

Whether a build is needed (i.e. any LOD actors are dirty)

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

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/HierarchicalLOD.h