UEditorAssetLibrary::DuplicateDirectory

Duplicate asset from the Content Browser that are in the folder.

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 bool DuplicateDirectory
(
    const FString & SourceDirectoryPath,
    const FString & DestinationDirectoryPath
)

Remarks

Duplicate asset from the Content Browser that are in the folder. Will try to checkout the files. The Assets will be loaded before being duplicated.

Returns

The duplicated object if the operation succeeds.

Parameters

Parameter

Description

SourceDirectoryPath

Directory of the assets that we want to duplicate from.

DestinationDirectoryPath

Directory of the duplicated asset.

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