![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineUtils.h>
Public Member Functions | |
| FContentComparisonHelper () | |
| virtual | ~FContentComparisonHelper () |
| virtual bool | CompareClasses (const FString &InBaseClassName, int32 InRecursionDepth) |
| virtual bool | CompareClasses (const FString &InBaseClassName, const TArray< FString > &InBaseClassesToIgnore, int32 InRecursionDepth) |
| void | RecursiveObjectCollection (UObject *InStartObject, int32 InCurrDepth, int32 InMaxDepth, TMap< UObject *, bool > &OutCollectedReferences) |
Protected Attributes | |
| TMap< FString, bool > | ReferenceClassesOfInterest |
Helper class for performing the content comparison console command
| FContentComparisonHelper::FContentComparisonHelper | ( | ) |
|
virtual |
|
virtual |
Compare the classes derived from the given base class, ignoring specified base classes.
| InBaseClassName | The base class to perform the comparison on. |
| InBaseClassesToIgnore | The base classes to ignore when processing objects. |
| InRecursionDepth | How deep to recurse when walking the object reference chain. (Max = 4) |
|
virtual |
Compare the classes derived from the given base class.
| InBaseClassName | The base class to perform the comparison on. |
| InRecursionDepth | How deep to recurse when walking the object reference chain. (Max = 4) |
| void FContentComparisonHelper::RecursiveObjectCollection | ( | UObject * | InStartObject, |
| int32 | InCurrDepth, | ||
| int32 | InMaxDepth, | ||
| TMap< UObject *, bool > & | OutCollectedReferences | ||
| ) |
Recursive function for collecting objects referenced by the given object.
| InStartObject | The object to collect the references for |
| InCurrDepth | The current depth being processed |
| InMaxDepth | The maximum depth to traverse the reference chain |
| OutCollectedReferences | The resulting referenced object list |