UDataprepContentConsumer::SetTargetContentFolder

Sets the path of the package the consumer should move assets 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 SetTargetContentFolder
(
    const FString & InTargetContentFolder,
    FText & OutFailureReason
)

Remarks

Sets the path of the package the consumer should move assets to if applicable. Generally, this package path is substituted to the temporary path the assets are in

if InPackagePath is empty the package path of the consumer is used

Returns

true if the assignment has been successful, false otherwise

Parameters

Parameter

Description

InTargetContentFolder

: Path of the package to save any assets in

OutFailureReason

: String explaining reason of failure to set the target content folder

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