Navigation
API > API/Plugins > API/Plugins/DataprepCore > API/Plugins/DataprepCore/UDataprepContentConsumer
Description
Sets the name of the level the consumer should move objects to if applicable.
if InLevelName is empty or equal to 'current' (case insensitive), no change is made
| Name | SetLevelName |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepContentConsumer.h |
| Include Path | #include "DataprepContentConsumer.h" |
| Source | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Private/DataprepContentConsumer.cpp |
UFUNCTION (BlueprintCallable, Category=DataprepConsumer)
bool SetLevelName
(
const FString & InLevelName,
FText & OutFailureReason
)
true if the name has been successfully set
Parameters
| Name | Remarks |
|---|---|
| InLevelName | : New name for the consumer's level. |
| OutFailureReason | : String explaining reason of failure to set the level name |