Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UBlueprintGeneratedClass
Description
Iterate over all BPGCs used to generate this class and its parents, calling InFunc on them. First element is the BPGC used to generate InClass
| Name | ForEachGeneratedClassInHierarchy |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/BlueprintGeneratedClass.h |
| Include Path | #include "Engine/BlueprintGeneratedClass.h" |
| Source | /Engine/Source/Runtime/Engine/Private/BlueprintGeneratedClass.cpp |
static bool ForEachGeneratedClassInHierarchy
(
const UClass * InClass,
TFunctionRef < bool *)> InFunc
)
true if there were no status errors in any of the parent blueprints, otherwise false
Parameters
| Name | Remarks |
|---|---|
| InClass | The class to get the blueprint lineage for |
| InFunc | Function that will be called for each BPGC. Must return true to continue iteration, or false to stop. |