FContentHelper

Collection helper Used to create and update ContentBrowser collections

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/PackageHelperFunctions.h

Include

#include "PackageHelperFunctions.h"

Syntax

class FContentHelper

Remarks

Collection helper Used to create and update ContentBrowser collections

Variables

Name Description

Protected variable

bool

 

bInitialized

Constructors

Name Description

Public function

FContentHelper()

Destructors

Name Description

Public function

~FContentHelper()

Functions

Name Description

Protected function

bool

 

AssignSetContent

(
    FName InSetName,
    ECollectionShareType::Type InType,
    const TArray< FName >& InAssetList
)

Sets the contents of a Tag or Collection to be the InAssetList.

Protected function

bool

 

ClearAssetSet

(
    FName InSetName,
    ECollectionShareType::Type InSetTyp...
)

Clears the content of a Tag or Collection

Public function

bool

 

ClearCollection

(
    FName InCollectionName,
    ECollectionShareType::Type InType
)

Clear the given collection

Clear the given collection

Protected function

bool

 

CreateAssetSet

(
    FName InSetName,
    ECollectionShareType::Type InSetTyp...
)

Creates a new collection

Public function

bool

 

CreateCollection

(
    FName CollectionName,
    ECollectionShareType::Type InType
)

Create a new tag

Public function

bool

 

Initialize()

Initialize the Collection helper

Public function

bool

 

QueryAssetsInCollection

(
    FName InCollectionName,
    ECollectionShareType::Type InType,
    TArray< FName >& OutAssetPathNames
)

Retrieve the assets contained in the given collection.

Protected function

bool

 

QuerySetContent

(
    FName InCollectionName,
    ECollectionShareType::Type InType,
    TArray< FName >& OutAssetFullNames
)

Get the list of all assets in the specified Collection or Tag

Public function

bool

 

SetCollection

(
    FName InCollectionName,
    ECollectionShareType::Type InType,
    const TArray< FName >& InAssetList
)

Fill the given collection with the given list of assets

Public function

void

 

Shutdown()

Shutdown the collection helper

Public function

bool

 

UpdateCollection

(
    FName InCollectionName,
    ECollectionShareType::Type InType,
    const TArray< FName >& InAddList,
    const TArray< FName >& InRemoveLis...
)

Update the given collection with the lists of adds/removes

Protected function

bool

 

UpdateSetContent

(
    FName InSetName,
    ECollectionShareType::Type InType,
    const TArray< FName >& InAddList,
    const TArray< FName >& InRemoveLis...
)

Add and remove assets for the specified Tag or Connection.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss