Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd
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
Type | Name | Description | |
---|---|---|---|
![]() |
TSet< AActor *, DefaultKeyFuncs< AActor * >, TInlineSetAllocator< 2 > > | Actors | Member variable |
![]() |
FSphere | Bound | Cluster bounds |
![]() |
double | ClusterCost | Cached cluster cost, FMath::Pow(Bound.W, 3) / FillingFactor |
![]() |
double | FillingFactor | Filling factor for this cluster, determines how much of the cluster's bounds/area is occupied by the contained actors |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FLODCluster () |
||
![]() |
FLODCluster
(
const FLODCluster& Other |
Constructors | |
![]() |
FLODCluster
(
FLODCluster&& Other |
||
![]() |
FLODCluster
(
AActor* Actor1 |
||
![]() |
FLODCluster
(
AActor* Actor1, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Contains
(
FLODCluster& Other |
Compare clusters and returns true when this contains any of Other's actors |
![]() ![]() |
double | GetCost () |
Return cost of the cluster, lower is better |
![]() ![]() |
double | GetMergedCost
(
const FLODCluster& Other |
Return cost of the union of this cluster & the other cluster, lower is better |
![]() |
void | Invalidate () |
Invalidates this cluster |
![]() ![]() |
bool | IsValid () |
Returns whether or not this cluster is valid |
![]() ![]() |
FString | ToString () |
Returns data/info for this Cluster as a string |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FLODCluster | operator-
(
const FLODCluster& Other |
|
![]() ![]() |
FLODCluster | operator+
(
const FLODCluster& Other |
Cluster operators |
![]() |
FLODCluster & | operator+=
(
const FLODCluster& Other |
|
![]() |
FLODCluster & | operator=
(
FLODCluster&& Other |
|
![]() |
FLODCluster & | operator=
(
const FLODCluster& Other |
|
![]() |
FLODCluster & | operator-=
(
const FLODCluster& Other |
|
![]() ![]() |
bool | operator==
(
const FLODCluster& Other |