ICollectionManager::CreateCollection

Adds a collection to the asset registry. A .collection file will be added to disk.

Windows
MacOS
Linux

References

Module

CollectionManager

Header

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

Include

#include "ICollectionManager.h"

Syntax

bool CreateCollection
(
    FName CollectionName,
    ECollectionShareType::Type ShareType,
    ECollectionStorageMode::Type StorageMode
)

Remarks

Adds a collection to the asset registry. A .collection file will be added to disk.

Returns

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

Parameters

Parameter

Description

CollectionName

The name of the new collection

ShareType

The way the collection is shared.

StorageMode

How does this collection store its objects? (static or dynamic)

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