/Engine/Source/Runtime/CoreUObject/Public/UObject/ClassTree.h
Creates a new class tree rooted at this node's class, which contains only classes which match the class flags specified.
a pointer to anFClassTreethat contains only classes which match the parameters specified by MaskParams. If the class associated with this node does not meet the requirements of the MaskParams, the return value is a NULL pointer, and the class tree will not contain any of the children of that class. NOTE: the caller is responsible for deleting theFClassTreereturned by this function!!
template<class Comparator> [FClassTree](API\Runtime\CoreUObject\UObject\FClassTree) * GenerateMaskedClassTree ( const Comparator & Mask ) const