Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/FDatasmithImportContext
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool InitOptions
(
TSharedRef< IDatasmithScene > InScene, |
First part of the Init process, replaces Init, requires a call to SetupDestination and InitScene after that. | DatasmithImportContext.h | |
bool InitOptions
(
const TSharedPtr< FJsonObject >& ImportSettingsJson, |
First part of the Init process, requires a call to SetupDestination and InitScene after that. | DatasmithImportContext.h |
InitOptions(TSharedRef< IDatasmithScene >, const TSharedPtr< FJsonObject > &, bool)
Description
First part of the Init process, replaces Init, requires a call to SetupDestination and InitScene after that. Displays the options to the end-user (blocking call), and updates translator accordingly. When silent, Json options are parsed instead.
| Name | InitOptions |
| 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 InitOptions
(
TSharedRef < IDatasmithScene > InScene,
const TSharedPtr < FJsonObject > & ImportSettingsJson,
bool bSilent
)
false if the user canceled -> import should not occurs in that case.
Parameters
| Name | Remarks |
|---|---|
| InScene | Scene that the context will use for the translation and import |
| ImportSettingsJson | When bSilent, options as json |
| bSilent | Flag that prevents options to be displayed and edited |
InitOptions(const TSharedPtr< FJsonObject > &, const TOptional< FString > &, bool)
Description
First part of the Init process, requires a call to SetupDestination and InitScene after that. Displays the options to the end-user (blocking call), and updates translator accordingly. When silent, Json options are parsed instead.
| Name | InitOptions |
| 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 InitOptions
(
const TSharedPtr < FJsonObject > & ImportSettingsJson,
const TOptional < FString > & InImportPath,
bool bSilent
)
false if the user canceled -> import should not occurs in that case.
Parameters
| Name | Remarks |
|---|---|
| ImportSettingsJson | When bSilent, options as json |
| InImportPath | Optional import path displayed when bSilent is false. |
| bSilent | Flag that prevents options to be displayed and edited |