IAssetTools::DuplicateAsset

Creates an asset with the specified name and path. Uses OriginalObject as the duplication source.

Windows
MacOS
Linux

References

Module

AssetTools

Header

/Engine/Source/Developer/AssetTools/Public/IAssetTools.h

Include

#include "IAssetTools.h"

Syntax

UObject * DuplicateAsset
(
    const FString & AssetName,
    const FString & PackagePath,
    UObject * OriginalObject
)

Remarks

Creates an asset with the specified name and path. Uses OriginalObject as the duplication source.

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