ICollectionManager::SaveCollection

Save the collection (if dirty) and check it into source control (if under SCC control)

Windows
MacOS
Linux

References

Module

CollectionManager

Header

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

Include

#include "ICollectionManager.h"

Syntax

bool SaveCollection
(
    FName CollectionName,
    ECollectionShareType::Type ShareType
)

Remarks

Save the collection (if dirty) and check it into source control (if under SCC control)

Generally you won't need to save collections manually as the collection manager takes care of that as objects and added/removed, etc. however, you may want to manually save a collection if a previous save attempt failed (and you've since corrected the issue), or if the collection contains redirected object references that you'd like to save to disk.

Returns

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

Parameters

Parameter

Description

CollectionName

The collection to save

ShareType

The way the 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