Navigation
API > API/Runtime > API/Runtime/CoreUObject
| Name | FUObjectClusterContainer |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectArray.h |
| Include Path | #include "UObject/UObjectArray.h" |
Syntax
class FUObjectClusterContainer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUObjectClusterContainer() |
UObject/UObjectArray.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClustersNeedDissolving | bool | Clusters need dissolving, probably due to PendingKill reference | UObject/UObjectArray.h | |
| Clusters | TArray< FUObjectCluster > | List of all clusters | UObject/UObjectArray.h | |
| FreeClusterIndices | TArray< int32 > | List of available cluster indices | UObject/UObjectArray.h | |
| NumAllocatedClusters | int32 | Number of allocated clusters | UObject/UObjectArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AllocateCluster
(
int32 InRootObjectIndex |
Returns an index to a new cluster | UObject/UObjectArray.h | |
bool ClustersNeedDissolving() |
Checks if any clusters need dissolving | UObject/UObjectArray.h | |
void DissolveCluster
(
UObjectBaseUtility* ClusterRootOrObjectFromCluster |
Dissolves a cluster and all clusters that reference it @Param ClusterRootOrObjectFromCluster Root cluster object or object that belongs to a cluster | UObject/UObjectArray.h | |
void DissolveClusterAndMarkObjectsAsUnreachable
(
FUObjectItem* RootObjectItem |
Dissolve the specified cluster and all clusters that reference it | UObject/UObjectArray.h | |
void DissolveClusters
(
bool bForceDissolveAllClusters |
Dissolve all clusters marked for dissolving | UObject/UObjectArray.h | |
void FreeCluster
(
int32 InClusterIndex |
Frees the cluster at the specified index | UObject/UObjectArray.h | |
TArray< FUObjectCluster > & GetClustersUnsafe() |
Gets the clusters array (for internal use only!) | UObject/UObjectArray.h | |
int32 GetMinClusterSize() |
UObject/UObjectArray.h | ||
int32 GetNumAllocatedClusters() |
Returns the number of currently allocated clusters | UObject/UObjectArray.h | |
FUObjectCluster * GetObjectCluster
(
UObjectBaseUtility* ClusterRootOrObjectFromCluster |
Gets the cluster the specified object is a root of or belongs to. | UObject/UObjectArray.h | |
void SetClustersNeedDissolving() |
Lets the FUObjectClusterContainer know some clusters need dissolving | UObject/UObjectArray.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUObjectCluster & operator[]
(
int32 Index |
UObject/UObjectArray.h |