UAssetTagsSubsystem::GetCollectionsContainingAsset

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

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")
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).

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