Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/FDatasmithImportContext
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Init
(
const FString& InImportPath, |
Initialize members required before loading anything, must call InitScene() independendly when using this function. | DatasmithImportContext.h | |
bool Init
(
TSharedRef< IDatasmithScene > InScene, |
Initialize members required before loading anything | DatasmithImportContext.h |
Init(const FString &, EObjectFlags, FFeedbackContext *, const TSharedPtr< FJsonObject > &, bool)
Description
Initialize members required before loading anything, must call InitScene() independendly when using this function.
| Name | Init |
| 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 Init
(
const FString & InImportPath,
EObjectFlags InFlags,
FFeedbackContext * InWarn,
const TSharedPtr < FJsonObject > & ImportSettingsJson,
bool bSilent
)
Parameters
| Name | Remarks |
|---|---|
| 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 |
Init(TSharedRef< IDatasmithScene >, const FString &, EObjectFlags, FFeedbackContext *, const TSharedPtr< FJsonObject > &, bool)
Description
Initialize members required before loading anything
| Name | Init |
| 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 Init
(
TSharedRef < IDatasmithScene > InScene,
const FString & InImportPath,
EObjectFlags InFlags,
FFeedbackContext * InWarn,
const TSharedPtr < FJsonObject > & ImportSettingsJson,
bool bSilent
)
Parameters
| Name | Remarks |
|---|---|
| Scene | The IDatasmithScene that we will be importing |
| InParent | The package in which we are |
| bSilent | Doesn't display the options dialog and skips other user input requests |