OnAddAsset

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/DataprepActionAsset.h

Include

#include "DataprepActionAsset.h"

Source

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

Syntax

UObject * OnAddAsset
(
    const UObject * Asset,
    const TCHAR * 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 performed before naming the asset