UDataprepAssetInterface::SetConsumer

Create a new consumer of the given class

Choose your operating system:

Windows

macOS

Linux

References

Module

DataprepCore

Header

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepAssetInterface.h

Include

#include "DataprepAssetInterface.h"

Source

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Private/DataprepAssetInterface.cpp

Syntax

UDataprepContentConsumer * SetConsumer
(
    UClass * NewConsumerClass,
    bool bNotifyChanges
)

Remarks

Create a new consumer of the given class

Returns

a pointer on the newly created consumer. Null pointer if the creation failed.

Parameters

Parameter

Description

NewConsumerClass

Class of the consumer create

bNotifyChanges

Indicates if observers should be notified of changes