UBlueprintGeneratedClass::GetGeneratedClassesHierarchy

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

Windows
MacOS
Linux

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback