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 GetObjectsOfClass
(
const UClass * ClassToLookFor,
TArray< UObject * > & Results,
bool bIncludeDerivedClasses,
EObjectFlags ExcludeFlags,
EInternalObjectFlags ExclusionInternalFlags
)
Returns an array of objects of a specific class. Optionally, results can include objects of derived classes as well.
Parameter |
Description |
---|---|
ClassToLookFor |
Class of the objects to return. |
Results |
An output list of objects of the specified class. |
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. |
ExclusiveInternalFlags |
Specifies internal flags to use as a filter for which objects to return |