Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectHash.h |
Include |
#include "UObject/UObjectHash.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectHash.cpp |
void ForEachObjectOfClass
(
const UClass * ClassToLookFor,
TFunctionRef< void *)> Operation,
bool bIncludeDerivedClasses,
EObjectFlags ExcludeFlags,
EInternalObjectFlags ExclusionInternalFlags
)
Performs an operation on all objects of the provided class
Parameter |
Description |
---|---|
Outer |
UObject class to loop over instances of |
Operation |
Function to be called for each object |
bIncludeDerivedClasses |
If true, the results will include objects of child classes as well. |
AdditionalExcludeFlags |
Objects with any of these flags will be excluded from the results. |