UDataprepEditingOperation::AddAsset

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

Choose your operating system:

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(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