UEditorAssetLibrary::ListAssets

Return the list of all the assets found in the DirectoryPath. List operations

Windows
MacOS
Linux

References

Module

EditorScriptingUtilities

Header

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorAssetLibrary.h

Include

#include "EditorAssetLibrary.h"

Source

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorAssetLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Asset")
static TArray< FString > ListAssets
(
    const FString & DirectoryPath,
    bool bRecursive,
    bool bIncludeFolder
)

Remarks

Return the list of all the assets found in the DirectoryPath. List operations

Returns

The list of asset found.

Parameters

Parameter

Description

DirectoryPath

Directory path of the asset we want the list from.

bRecursive

The search will be recursive and will look in sub folders.

bIncludeFolder

The result will include folders name.

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