FContentHelper::UpdateCollection

Update the given collection with the lists of adds/removes

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "PackageHelperFunctions.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Commandlets/PackageUtilities.cpp

Syntax

bool UpdateCollection
(
    FName InCollectionName,
    ECollectionShareType::Type InType,
    const TArray< FName > & InAddList,
    const TArray< FName > & InRemoveList
)

Remarks

Update the given collection with the lists of adds/removes

Returns

bool true if successful, false if not.

Parameters

Parameter

Description

InCollectionName

The name of the collection to update

InType

Type of collection

InAddList

The list of items to ADD to the collection (can be empty)

InRemoveList

The list of items to REMOVE from the collection (can be empty)

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