ICollectionManager::RenameCollection

Renames a collection.

Unreal Engine C++ API Reference > Developer > CollectionManager > ICollectionManager

References

   
Module CollectionManager
Header /Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h
Include #include "ICollectionManager.h"
bool RenameCollection
(
    [FName](API\Runtime\Core\UObject\FName) CurrentCollectionName,
    [ECollectionShareType::Type](API\Developer\CollectionManager\ECollectionShareType\Type) CurrentShareType,
    [FName](API\Runtime\Core\UObject\FName) NewCollectionName,
    [ECollectionShareType::Type](API\Developer\CollectionManager\ECollectionShareType\Type) NewShareType
)

Remarks

Renames a collection. A .collection file will be added to disk and a .collection file will be removed. true if the rename was successful. If false, GetLastError will return a human readable string description of the error.

Parameters

Name Description
CurrentCollectionName The current name of the collection.
CurrentShareType The current way the collection is shared.
NewCollectionName The new name of the collection.
NewShareType The new way the collection is shared.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library