UDataprepContentConsumer::SetLevelNameAutomated

Sets the name of the level the consumer should move objects to if applicable.

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

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=DataprepConsumer)
bool SetLevelNameAutomated
(
    const FString & InLevelName,
    FText & OutFailureReason
)

Remarks

Sets the name of the level the consumer should move objects to if applicable. This version won't pop any ui

if InLevelName is empty or equal to 'current' (case insensitive), no change is made

Returns

true if the name has been successfully set

Parameters

Parameter

Description

InLevelName

: New name for the consumer's level.

OutFailureReason

: String explaining reason of failure to set the level name

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