Navigation
API > API/Developer > API/Developer/AssetTools
References
| Module | AssetTools |
| Header | /Engine/Source/Developer/AssetTools/Public/CollectionAssetManagement.h |
| Include | #include "CollectionAssetManagement.h" |
Syntax
class FCollectionAssetManagement
Remarks
Handles the collection management for the given assets
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCurrentAssetsToCollection
(
FCollectionNameType InCollectionKey |
Add the current assets to the given collection | |
| ECheckBoxState | GetCollectionCheckState
(
FCollectionNameType InCollectionKey |
Get the check box state the given collection should use in any management UIs | |
| int32 | Get the number of assets in the current set | ||
| bool | IsCollectionEnabled
(
FCollectionNameType InCollectionKey |
Return whether or not the given collection should be enabled in any management UIs | |
| void | RemoveCurrentAssetsFromCollection
(
FCollectionNameType InCollectionKey |
Remove the current assets from the given collection | |
| void | SetCurrentAssetPaths
(
const TArray< FSoftObjectPath >& CurrentAssets |
Set the asset paths that we are currently observing and managing the collection state of | |
| void | SetCurrentAssets
(
const TArray< FAssetData >& CurrentAssets |
Set the assets that we are currently observing and managing the collection state of |