Navigation
API > API/Plugins > API/Plugins/DataprepCore > API/Plugins/DataprepCore/UDataprepContentConsumer
Description
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
| Name | SetTargetContentFolderImplementation |
| 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 |
virtual bool SetTargetContentFolderImplementation
(
const FString & InTargetContentFolder,
FText & OutFailureReason,
const bool bIsAutomated
)
true if the assignment has been successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| InTargetContentFolder | : Path of the package to save any assets in |
| OutFailureReason | : String explaining reason of failure to set the target content folder |
| bIsAutomated | If it is true the function shouldn't require any feedback from the user |