Navigation
API > API/Developer > API/Developer/CollectionManager > API/Developer/CollectionManager/ICollectionContainer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddToCollection
(
FName CollectionName, |
Adds an asset to the specified collection. | ICollectionContainer.h | |
bool AddToCollection
(
FName CollectionName, |
ICollectionContainer.h |
AddToCollection(FName, ECollectionShareType::Type, const FSoftObjectPath &, FText *)
Description
Adds an asset to the specified collection.
| Name | AddToCollection |
| Type | function |
| Header File | /Engine/Source/Developer/CollectionManager/Public/ICollectionContainer.h |
| Include Path | #include "ICollectionContainer.h" |
bool AddToCollection
(
FName CollectionName,
ECollectionShareType::Type ShareType,
const FSoftObjectPath & ObjectPath,
FText * OutError
)
true if the add was successful.
Parameters
| Name | Remarks |
|---|---|
| CollectionName | The collection in which to add the asset |
| ShareType | The way the collection is shared. |
| ObjectPath | the ObjectPath of the asset to add. |
| OutNumAdded | if non-NULL, the number of objects successfully added to the collection |
| OutError | Optional human readable explanation of why the operation failed |
AddToCollection(FName, ECollectionShareType::Type, TConstArrayView< FSoftObjectPath >, int32 , FText )
| Name | AddToCollection |
| Type | function |
| Header File | /Engine/Source/Developer/CollectionManager/Public/ICollectionContainer.h |
| Include Path | #include "ICollectionContainer.h" |
bool AddToCollection
(
FName CollectionName,
ECollectionShareType::Type ShareType,
TConstArrayView< FSoftObjectPath > ObjectPaths,
int32 * OutNumAdded,
FText * OutError
)