Navigation
API > API/Plugins > API/Plugins/DataprepCore > API/Plugins/DataprepCore/UDataprepContentProducer
Description
Successively calls the Initialize, Execute and Reset methods Additionally, to avoid naming collision, rename the newly created actors to include the producer's namespace.
The world in the context should be assumed to be transient
| Name | Produce |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepContentProducer.h |
| Include Path | #include "DataprepContentProducer.h" |
| Source | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Private/DataprepContentProducer.cpp |
bool Produce
(
const FDataprepProducerContext & InContext,
TArray< TWeakObjectPtr< UObject > > & OutAssets
)
Parameters
| Name | Remarks |
|---|---|
| InContext | Context containing all the data required to perform a run. |
| OutAssets | Array of assets created by the producer |
| OutReason | Text containing description of failure if the method returns false |