FDatasmithImportContext::SetupDestination

Second part of the Init process, replaces Init, requires a call to InitOptions before that.

Choose your operating system:

Windows

macOS

Linux

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 SetupDestination
(
    const FString & InImportPath,
    EObjectFlags InFlags,
    FFeedbackContext * InWarn,
    bool bSilent
)

Remarks

Second part of the Init process, replaces Init, requires a call to InitOptions before that. Setup destination packages

Returns

false if the user canceled -> import should not occurs in that case.

Parameters

Parameter

Description

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