ICollectionManager::DestroyCollection

Removes a collection to the asset registry. A .collection file will be deleted from disk.

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

References

   
Module CollectionManager
Header /Engine/Source/Developer/CollectionManager/Public/ICollectionManager.h
Include #include "ICollectionManager.h"
bool DestroyCollection
(
    [FName](API\Runtime\Core\UObject\FName) CollectionName,
    [ECollectionShareType::Type](API\Developer\CollectionManager\ECollectionShareType\Type) ShareType
)

Remarks

Removes a collection to the asset registry. A .collection file will be deleted from disk. true if the remove was successful

Parameters

Name Description
CollectionName The name of the collection to remove.
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