Navigation
API > API/Plugins > API/Plugins/DataprepCore > API/Plugins/DataprepCore/UDataprepContentConsumer
References
| Module | DataprepCore |
| Header | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepContentConsumer.h |
| Include | #include "DataprepContentConsumer.h" |
| Source | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Private/DataprepContentConsumer.cpp |
bool Consume
&40;
const FDataprepConsumerContext & InContext
&41;
Remarks
Successively calls Initialize, Run and Reset.
A copy of the incoming context is made by the consumer. The internal context is cleared by a call to Reset
If TargetContentFolder member is empty, it is set to the package path of the consumer
The consumer is expected to remove objects it has consumed from the world and/or assets' array true if the calls were successful, false otherwise
Parameters
| Name | Description |
|---|---|
| InContext | : The world the consumer must process on. This world must be assumed to be transient. |