Navigation
API > API/Runtime > API/Runtime/InterchangeEngine > API/Runtime/InterchangeEngine/FFactoryCommon
Description
Evaluates whether or not a factory should be called on a factory node in a given reimport context.
The path of the missing associated object will be set on the factory node if ObjectToReimport is null
| Name | CanProceedWithFactoryNode |
| Type | function |
| Header File | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeImportCommon.h |
| Include Path | #include "InterchangeImportCommon.h" |
| Source | /Engine/Source/Runtime/Interchange/Engine/Private/InterchangeImportCommon.cpp |
static bool CanProceedWithFactoryNode
(
UInterchangeFactoryBaseNode & FactoryNode,
UObject * ReimportObject,
UObject * ObjectToReimport,
const FString & PackageName,
const FString & AssetName,
const FString & SubPathString
)
Parameters
| Name | Remarks |
|---|---|
| FactoryNode | Factory node to evaluate |
| ReimportObject | Object a reimport has been initialized from |
| ObjectToReimport | Actual object to reimport |
| PackageName | Package path of the object associated with the factory node to reimport |
| AssetName | Asset name of the object associated with the factory node to reimport |
| SubPathString | Optional subobject name Returns:true if it is an import. ReimportObject is null.true if, based on its path, object associated with the factory node was not part of the previous import.true if factory node was part of the previous import and ObjectToReimport is null but FactoryNode has been flagged as required for the reimporttrue ObjectToReimport is not nullfalse otherwise |