Navigation
API > API/Plugins > API/Plugins/DataprepCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataprepContentConsumer
References
| Module | DataprepCore |
| Header | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepContentConsumer.h |
| Include | #include "DataprepContentConsumer.h" |
Syntax
UCLASS&40;Abstract, Config&61;EditorSettings, BlueprintType&41;
class UDataprepContentConsumer : public UObject
Remarks
Abstract class providing the minimal services required for a DataprepConsumer
Use the SDataprepConsumerWidget class to detail the properties of this class
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDataprepConsumerContext | Context | Context which the consumer will run with | |
| FString | LevelName | ||
| FDataprepConsumerChanged | OnChanged | Delegate to broadcast changes to the consumer | |
| FString | TargetContentFolder |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Consume
(
const FDataprepConsumerContext& InContext |
Successively calls Initialize, Run and Reset. | |
| const FText & | Text briefly describing what the consumer is doing with the world and assets it consumes. | ||
| const FText & | GetLabel () |
Name used by the UI to be displayed. | |
| const FString & | GetLevelName () |
||
| UDataprepContentConsumer::FDataprepConsumerChanged TBaseMulticastDelegate_NoParams | GetOnChanged () |
||
| const FString & | |||
| FString | Returns a well-formed path to use when calling CreatePackage to create the target package. | ||
| bool | Initialize () |
Initialize the consumer to be ready for the next call to the Run method. | |
| void | |||
| void | Start of helper functions to log messages and report progress. | ||
| void | LogWarning
(
const FText& Message |
||
| void | Reset () |
Clean up the objects used by the consumer. | |
| bool | Run () |
Requests the consumer to perform its operation. | |
| bool | SetLevelName
(
const FString& InLevelName, |
Sets the name of the level the consumer should move objects to if applicable. | |
| bool | SetLevelNameAutomated
(
const FString& InLevelName, |
Sets the name of the level the consumer should move objects to if applicable. | |
| bool | SetLevelNameImplementation
(
const FString& InLevelName, |
Sets the name of the level the consumer should move objects to if applicable. | |
| bool | SetTargetContentFolder
(
const FString& InTargetContentFolder, |
Sets the path of the package the consumer should move assets to if applicable. | |
| bool | SetTargetContentFolderAutomated
(
const FString& InTargetContentFolder, |
Sets the path of the package the consumer should move assets to if applicable. | |
| bool | SetTargetContentFolderImplementation
(
const FString& InTargetContentFolder, |
Sets the path of the package the consumer should move assets to if applicable. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditUndo () |
Called after applying a transaction to the object. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDataprepConsumerChanged | Allow an observer to be notified when one of the properties of the consumer changes |
Constants
| Name | Description |
|---|---|
| RelativeOutput | Name of marker to be used by consumers to indicate specific output for assets or actors |