Navigation
Unreal Engine C++ API Reference > Developer > CollectionManager > ICollectionManager
References
Module | CollectionManager |
Header | /Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h |
Include | #include "ICollectionManager.h" |
bool SaveCollection
(
FName CollectionName,
ECollectionShareType::Type ShareType,
FText * OutError
)
Remarks
Save the collection (if dirty) and check it into source control (if under SCC control)
Note: 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. true if the save was successful.
Parameters
Name | Description |
---|---|
CollectionName | The collection to save |
ShareType | The way the collection is shared. |
OutError | Optional human readable explanation of why the operation failed |