Navigation
API > API/Developer > API/Developer/AssetTools
Handles the collection management for the given assets
| Name | FCollectionAssetManagement |
| Type | class |
| Header File | /Engine/Source/Developer/AssetTools/Public/CollectionAssetManagement.h |
| Include Path | #include "CollectionAssetManagement.h" |
Syntax
class FCollectionAssetManagement
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constructor | CollectionAssetManagement.h | ||
FCollectionAssetManagement
(
const TSharedRef< ICollectionContainer >& InCollectionContainer |
CollectionAssetManagement.h | ||
| CollectionAssetManagement.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FCollectionAssetManagement() |
Destructor | CollectionAssetManagement.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetManagementState | TMap< FCollectionNameType, ECheckBoxState > | Mapping between a collection and its asset management state (based on the current assets). | CollectionAssetManagement.h | |
| CollectionContainer | TSharedRef< ICollectionContainer > | CollectionAssetManagement.h | ||
| CurrentAssetPaths | TSet< FSoftObjectPath > | Set of asset paths that we are currently observing and managing the collection state of | CollectionAssetManagement.h | |
| OnAssetsAddedHandle | FDelegateHandle | CollectionAssetManagement.h | ||
| OnAssetsRemovedHandle | FDelegateHandle | CollectionAssetManagement.h | ||
| OnCollectionDestroyedHandle | FDelegateHandle | CollectionAssetManagement.h | ||
| OnCollectionRenamedHandle | FDelegateHandle | Delegate handles | CollectionAssetManagement.h | |
| OnCollectionUpdatedHandle | FDelegateHandle | CollectionAssetManagement.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCurrentAssetsToCollection
(
FCollectionNameType InCollectionKey |
Add the current assets to the given collection | CollectionAssetManagement.h | |
ECheckBoxState GetCollectionCheckState
(
FCollectionNameType InCollectionKey |
Get the check box state the given collection should use in any management UIs | CollectionAssetManagement.h | |
int32 GetCurrentAssetCount() |
Get the number of assets in the current set | CollectionAssetManagement.h | |
bool IsCollectionEnabled
(
FCollectionNameType InCollectionKey |
Return whether or not the given collection should be enabled in any management UIs | CollectionAssetManagement.h | |
void RemoveCurrentAssetsFromCollection
(
FCollectionNameType InCollectionKey |
Remove the current assets from the given collection | CollectionAssetManagement.h | |
void SetCurrentAssetPaths
(
const TArray< FSoftObjectPath >& CurrentAssets |
Set the asset paths that we are currently observing and managing the collection state of | CollectionAssetManagement.h | |
void SetCurrentAssets
(
const TArray< FAssetData >& CurrentAssets |
Set the assets that we are currently observing and managing the collection state of | CollectionAssetManagement.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCollectionAssetManagement & operator=
(
const FCollectionAssetManagement& |
CollectionAssetManagement.h |