Navigation
API > API/Editor > API/Editor/UnrealEd
Collection helper Used to create and update ContentBrowser collections
| Name | FContentHelper |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/PackageHelperFunctions.h |
| Include Path | #include "PackageHelperFunctions.h" |
Syntax
class FContentHelper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| PackageHelperFunctions.h | |||
FContentHelper
(
const TSharedRef< ICollectionContainer >& InCollectionContainer |
PackageHelperFunctions.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FContentHelper() |
PackageHelperFunctions.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ClearCollection
(
FName InCollectionName, |
Clear the given collectionClear the given collection | PackageHelperFunctions.h | |
bool CreateCollection
(
FName CollectionName, |
Create a new tag | PackageHelperFunctions.h | |
bool Initialize() |
Initialize the Collection helper | PackageHelperFunctions.h | |
bool QueryAssetsInCollection
(
FName InCollectionName, |
Retrieve the assets contained in the given collection. | PackageHelperFunctions.h | |
bool SetCollection
(
FName InCollectionName, |
Fill the given collection with the given list of assets | PackageHelperFunctions.h | |
void Shutdown() |
Shutdown the collection helper | PackageHelperFunctions.h | |
bool UpdateCollection
(
FName InCollectionName, |
Update the given collection with the lists of adds/removes | PackageHelperFunctions.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AssignSetContent
(
FName InSetName, |
Sets the contents of a Tag or Collection to be the InAssetList. | PackageHelperFunctions.h | |
bool ClearAssetSet
(
FName InSetName, |
Clears the content of a Tag or Collection | PackageHelperFunctions.h | |
bool CreateAssetSet
(
FName InSetName, |
Creates a new collection | PackageHelperFunctions.h | |
bool QuerySetContent
(
FName InCollectionName, |
Get the list of all assets in the specified Collection or Tag | PackageHelperFunctions.h | |
bool UpdateSetContent
(
FName InSetName, |
Add and remove assets for the specified Tag or Connection. | PackageHelperFunctions.h |