FDatasmithImportContext::SetupDestination

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

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, and 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 applyed to all generated objects durring the following import

InWarn

Feedback context for the following import

bSilent

When false, prompt the user to save dirty packages

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss