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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback