FLODCluster

This is a LOD cluster struct that holds list of actors with relevant information

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "LODCluster.h"

Syntax

struct FLODCluster

Remarks

This is a LOD cluster struct that holds list of actors with relevant information

http://deim.urv.cat/~rivi/pub/3d/icra04b.pdf

This is used by Hierarchical LOD Builder to generates list of clusters that are together in vicinity and build as one actor

Variables

Name Description

Public variable

TArray< AActor ...

 

Actors

Member variable

Public variable

FSphere

 

Bound

Cluster bounds

Public variable

float

 

ClusterCost

Cached cluster cost, FMath::Pow / FillingFactor

Public variable

float

 

FillingFactor

Filling factor for this cluster, determines how much of the cluster's bounds/area is occupied by the contained actors

Constructors

Name Description

Public function

FLODCluster()

Public function

FLODCluster

(
    const FLODCluster& Other
)

Constructors

Public function

FLODCluster

(
    AActor* Actor1
)

Public function

FLODCluster

(
    AActor* Actor1,
    AActor* Actor2
)

Functions

Name Description

Public function Const

bool

 

Contains

(
    FLODCluster& Other
)

Compare clusters and returns true when this contains any of Other's actors

Public function Const

const float

 

GetCost()

Return cost of the cluster, lower is better

Public function

void

 

Invalidate()

Invalidates this cluster

Public function Const

bool

 

IsValid()

Returns whether or not this cluster is valid

Public function Const

FString

 

ToString()

Returns data/info for this Cluster as a string

Operators

Name Description

Public function Const

FLODCluster

 

operator-

(
    const FLODCluster& Other
)

Public function Const

FLODCluster

 

operator+

(
    const FLODCluster& Other
)

Cluster operators

Public function

FLODCluster

 

operator+=

(
    const FLODCluster& Other
)

Public function

FLODCluster ...

 

operator=

(
    const FLODCluster& Other
)

Public function

FLODCluster

 

operator-=

(
    const FLODCluster& Other
)

Public function Const

bool

 

operator==

(
    const FLODCluster& Other
)

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