Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/FDatasmithImportContext > API/Plugins/DatasmithImporter/FDatasmithImportContext/Init
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImportContext.h |
| Include | #include "DatasmithImportContext.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithImportContext.cpp |
bool Init
&40;
const FString & InImportPath,
EObjectFlags InFlags,
FFeedbackContext &42; InWarn,
const TSharedPtr< FJsonObject > & ImportSettingsJson,
bool bSilent
&41;
Remarks
Initialize members required before loading anything, must call InitScene() independendly when using this function.
Parameters
| Name | Description |
|---|---|
| InImportPath | The path where the scene will be imported |
| InFlags | Flags applied to all generated objects during the following import |
| InWarn | Feedback context for the following import |
| ImportSettingsJson | When bSilent, options as json |
| bSilent | Doesn't display the options dialog and skips other user input requests |