Language:
Discover
By Skill Level
By Category

FContentHelper

Choose your OS:

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

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

bool true if successful, false if failed

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

Initialize()

Initialize the Collection helper

bool true if successful, false if failed

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

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

bool true if successful, false if not.

Public function

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

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.

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/PackageHelperFunctions.h