UDataprepEditingOperation::AddAsset

DUplicate and add an asset to the Dataprep's and action's working set

Windows
MacOS
Linux

References

Module

DataprepCore

Header

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepOperation.h

Include

#include "DataprepOperation.h"

Source

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Private/DataprepOperation.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Dataprep | Editing Operation")
UObject * AddAsset
(
    const UObject * Asset,
    const FString & AssetName
)

Remarks

DUplicate and add an asset to the Dataprep's and action's working set

Returns

The asset newly created

Parameters

Parameter

Description

Asset

If not null, the asset will be duplicated

AssetName

Name of the asset to create. Name collision will be checked and fixed before naming the 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