ICollectionManager::EmptyCollection

Removes all assets from the specified 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 EmptyCollection
(
    [FName](API\Runtime\Core\UObject\FName) CollectionName,
    [ECollectionShareType::Type](API\Developer\CollectionManager\ECollectionShareType\Type) ShareType
)

Remarks

Removes all assets from the specified collection. true if the clear was successful. If false, GetLastError will return a human readable string description of the error.

Parameters

Name Description
CollectionName The collection to empty
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