FDatasmithImportContext::Init

Initialize members required before loading anything

Choose your operating system:

Windows

macOS

Linux

Deprecated

  • The options initialization should not require a scene. Please use other implemetantion of Init() and call InitScene() individually.

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

Syntax

bool Init
(
    TSharedRef< IDatasmithScene > InScene,
    const FString & InImportPath,
    EObjectFlags InFlags,
    FFeedbackContext * InWarn,
    const TSharedPtr< FJsonObject > & ImportSettingsJson,
    bool bSilent
)

Remarks

Initialize members required before loading anything

Parameters

Parameter

Description

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