UObjectBaseUtility::AddToRoot

Add an object to the root set.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectBaseUtility.h"

Syntax

void AddToRoot()

Remarks

Add an object to the root set. This prevents the object and all its descendants from being deleted during garbage collection.

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