Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ReferenceCluster.h |
| Include | #include "ReferenceCluster.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ReferenceCluster.cpp |
TArray < TArray < FGuid > > GenerateObjectsClusters
(
const TArray < TPair < FGuid , TArray < FGuid > > > & InObjects
)
Remarks
Creates a list of object clusters based on the provided references. 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.
Parameters
| Name | Description |
|---|---|
| InObjects | Array 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. |