UEditorDataprepAssetLibrary::AddProducer

Add a producer to a dataprep asset (The producer will act as if was call from the dataprep editor, use the automated version if you don't want any ui)

Windows
MacOS
Linux

References

Module

DataprepEditorScriptingUtilities

Header

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepEditorScriptingUtilities/Public/EditorDataprepAssetLibrary.h

Include

#include "EditorDataprepAssetLibrary.h"

Source

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepEditorScriptingUtilities/Private/EditorDataprepAssetLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Dataprep Asset | Producers",
          Meta=(DeterminesOutputType="ProducerClass"))
static UDataprepContentProducer * AddProducer
(
    UDataprepAssetInterface * DataprepAssetInterface,
    TSubclassOf< UDataprepContentProducer > ProducerClass
)

Remarks

Add a producer to a dataprep asset (The producer will act as if was call from the dataprep editor, use the automated version if you don't want any ui)

Returns

The created producer

Parameters

Parameter

Description

DataprepAssetInterface

The dataprep asset on which the producer will be added.

ProducerClass

The type of producer to add

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