FClassTree::AddClass

Public interface for adding a new class to the tree.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/ClassTree.h"

Syntax

bool AddClass
(
    UClass * ChildClass
)

Remarks

Public interface for adding a new class to the tree. Actual functionality implemented separately in order to support being able to call AddClass() on any node in the tree structure and have it inserted into the correct location.

Can be called on any node in the tree. Takes care of inserting the class into the correct location in the structure. Correctly handles adding classes in any arbitrary order (i.e. parent classes do not need to be added before child classes, etc.)

Returns

buffer that will contain the post processed text

Parameters

Parameter

Description

ChildClass

the class to add to the tree

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