ICollectionManager::SaveCollection

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

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](API\Runtime\Core\UObject\FName) CollectionName,
    [ECollectionShareType::Type](API\Developer\CollectionManager\ECollectionShareType\Type) ShareType
)

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. If false, GetLastError will return a human readable string description of the error.

Parameters

Name Description
CollectionName The collection to save
ShareType The way the collection is shared.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library