Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/FDatasmithImportContext
Description
Second part of the Init process, replaces Init, requires a call to InitOptions before that. Setup destination packages
| Name | SetupDestination |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImportContext.h |
| Include Path | #include "DatasmithImportContext.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithImportContext.cpp |
bool SetupDestination
(
const FString & InImportPath,
EObjectFlags InFlags,
FFeedbackContext * InWarn,
bool bSilent
)
false if the user canceled -> import should not occurs in that case.
Parameters
| Name | Remarks |
|---|---|
| InImportPath | Destination package's name |
| InFlags | Flags applied to all generated objects during the following import |
| InWarn | Feedback context for the following import |
| bSilent | When false, prompt the user to save dirty packages |