GetDerivedClasses

Returns an array of classes that were derived from the specified class.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectHash.h

Include

#include "UObject/UObjectHash.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectHash.cpp

Syntax

void GetDerivedClasses
(
    const UClass * ClassToLookFor,
    TArray< UClass * > & Results,
    bool bRecursive
)

Remarks

Returns an array of classes that were derived from the specified class.

Parameters

Parameter

Description

ClassToLookFor

The parent class of the classes to return.

Results

An output list of child classes of the specified parent class.

bRecursive

If true, the results will include children of the children classes, recursively. Otherwise, only direct decedents will be included.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss