ICollectionManager::ReparentCollection

Re-parents a collection.

Windows
MacOS
Linux

References

Module

CollectionManager

Header

/Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h

Include

#include "ICollectionManager.h"

Syntax

bool ReparentCollection
(
    FName CollectionName,
    ECollectionShareType::Type ShareType,
    FName ParentCollectionName,
    ECollectionShareType::Type ParentShareType
)

Remarks

Re-parents a collection. The parent collection may be re-saved if it's too old to have a stable GUID.

Returns

true if the re-parent was successful. If false, GetLastError will return a human readable string description of the error.

Parameters

Parameter

Description

CollectionName

The name of the collection to set the parent of.

ShareType

The way the collection is shared.

ParentCollectionName

The new parent of the collection, or None to have the collection become a root collection.

ParentShareType

The way the new parent collection is shared.

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