UBlueprintGeneratedClass::GetGeneratedClassesHierarchy

Syntax

static bool GetGeneratedClassesHierarchy
(
    const UClass * InClass,
    TArray < const UBlueprintGeneratedClass * > & OutBPGClasses
)

Remarks

Gets an array of all BPGeneratedClasses (including InClass as 0th element) parents of given generated class

Returns

true if there were no status errors in any of the parent blueprints, otherwise false

Parameters

Parameter

Description

InClass

The class to get the blueprint lineage for

OutBlueprintParents

Array with the blueprints used to generate this class and its parents. 0th = this, Nth = least derived BP-based parent

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/BlueprintGeneratedClass.h

Source

Runtime/Engine/Private/BlueprintGeneratedClass.cpp