UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ReferenceCluster.h File Reference
#include "CoreMinimal.h"

Go to the source code of this file.

Functions

ENGINE_API TArray< TArray< FGuid > > GenerateObjectsClusters (const TArray< TPair< FGuid, TArray< FGuid > > > &InObjects)
 

Function Documentation

◆ GenerateObjectsClusters()

ENGINE_API TArray< TArray< FGuid > > GenerateObjectsClusters ( const TArray< TPair< FGuid, TArray< FGuid > > > &  InObjects)

Creates a list of object clusters based on the provided references.

Parameters
InObjectsArray of object GUIDs with their references. Each pair represents the GUID of an object and its list of references. References are expected to be part of the root object list, forming a closed set of n clusters.
Returns
Array of reference clusters (e.g. group of objects referencing each other). For example, an input of n objects without any references will generate n clusters of a single object each.