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