UDataprepContentConsumer::Consume

Successively calls Initialize, Run and Reset.

Windows
MacOS
Linux

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

Syntax

bool Consume
(
    const FDataprepConsumerContext & InContext
)

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

Returns

true if the calls were successful, false otherwise

Parameters

Parameter

Description

InContext

: The world the consumer must process on. This world must be assumed to be transient.

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