UAssetTagsSubsystem::GetCollectionsContainingAsset

Get the names of the collections that contain the given asset.

Choose your operating system:

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(BlueprintCallable, Category="AssetTags")
TArray< FName > GetCollectionsContainingAsset
(
    const FName AssetPathName
)

Remarks

Get the names of the collections that contain the given asset.

Returns

Names of the collections that contain the asset.

Parameters

Parameter

Description

AssetPathName

Asset to test (its path name, eg) /Game/MyFolder/MyAsset.MyAsset).