UAssetTagsSubsystem::AddAssetsToCollection

Add the given assets to the given collection.

Windows
MacOS
Linux

References

Module

AssetTags

Header

/Engine/Plugins/Runtime/AssetTags/Source/AssetTags/Public/AssetTagsSubsystem.h

Include

#include "AssetTagsSubsystem.h"

Source

/Engine/Plugins/Runtime/AssetTags/Source/AssetTags/Private/AssetTagsSubsystem.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="AssetTags")
bool AddAssetsToCollection
(
    const FName Name,
    const TArray< FName > & AssetPathNames
)

Remarks

Add the given assets to the given collection.

Returns

True if the collection was modified, false otherwise (see the output log for details on error).

Parameters

Parameter

Description

Name

Name of the collection to modify.

AssetPathNames

Assets to add (their path names, eg) /Game/MyFolder/MyAsset.MyAsset).

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