UHLODProxy

This asset acts as a proxy to a static mesh for ALODActors to display

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/HLODProxy.h

Include

#include "Engine/HLODProxy.h"

Syntax

class UHLODProxy : public UObject

Remarks

This asset acts as a proxy to a static mesh for ALODActors to display

Functions

Name Description

Public function

void

 

AddMesh

(
    ALODActor* InLODActor,
    UStaticMesh* InStaticMesh,
    const FName& InKey
)

Adds a static mesh and the key used to generate it

Public function

void

 

Clean()

Clean out invalid proxy mesh entries

Public function Const

bool

 

ContainsDataForActor

(
    const ALODActor* InLODActor
)

Check if we contain data for the specified actor

Public function Static

void

 

ExtractComponents

(
    const ALODActor* LODActor,
    TArray< UPrimitiveComponent* >...
)

Extract components that we would use for LOD generation. Used to generate keys for LOD actors.

Public function Static

void

 

ExtractStaticMeshComponentsFromLODActor

(
    const ALODActor* LODActor,
    TArray< UStaticMeshComponent* ...
)

Recursively retrieves StaticMeshComponents from a LODActor and its child LODActors

Public function Static

const AActor...

 

FindFirstActor

(
    const ALODActor* LODActor
)

Helper for recursive traversing LODActors to retrieve a semi deterministic first AActor for resulting asset naming

Public function Static

FName

 

GenerateKeyForActor

(
    const ALODActor* LODActor,
    bool bMustUndoLevelTransform
)

Build a unique key for the LOD actor, used to determine if the actor needs rebuilding

Public function Static

uint32

 

GetCRC

(
    UMaterialInterface* InMaterial...,
    uint32 InCRC
)

Public function Static

uint32

 

GetCRC

(
    UTexture* InTexture,
    uint32 InCRC
)

Public function Static

uint32

 

GetCRC

(
    UStaticMesh* InStaticMesh,
    uint32 InCRC
)

Public function Static

uint32

 

GetCRC

(
    UStaticMeshComponent* InCompon...,
    uint32 InCRC,
    const FTransform& TransformCompone...
)

Public function Const

TSoftObjectP...

 

GetMap()

Get the owner map for this HLOD proxy

Public function

void

 

SetMap

(
    const UWorld* InMap
)

Setup the map - only called at initial construction

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