FClassTree::GenerateMaskedClassTree

Creates a new class tree rooted at this node's class, which contains only classes which match the class flags specified.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/ClassTree.h"

Syntax

template<class Comparator>
FClassTree * GenerateMaskedClassTree
(
    const Comparator & Mask
) const

Remarks

Creates a new class tree rooted at this node's class, which contains only classes which match the class flags specified.

the caller is responsible for deleting the FClassTree returned by this function!!

Returns

a pointer to an FClassTree that 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.

Parameters

Parameter

Description

Mask

information about the types of classes to include. Must implement bool IsValidClass(const FClassTree* Node) const.

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