Navigation
API > API/Runtime > API/Runtime/InterchangeEngine
All the code we cannot put in the base factory class because of dependencies (like Engine dep) Will be available here.
| Name | FFactoryCommon |
| Type | class |
| Header File | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeImportCommon.h |
| Include Path | #include "InterchangeImportCommon.h" |
Syntax
class FFactoryCommon
Structs
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ApplyReimportStrategyToAsset
(
UObject* Asset, |
Apply the current strategy to the PipelineAssetNode | InterchangeImportCommon.h | |
static UObject * AsyncFindObject
(
UInterchangeFactoryBaseNode* FactoryNode, |
Factory helper use to find the object we have create in the game thread when we do the async part of the factory import. | InterchangeImportCommon.h | |
static void BackupSourceData
(
const UAssetImportData* AssetImportData |
Backups the SourceData. Primary usage for re-instating SourceData on Re-Import cancellation. | InterchangeImportCommon.h | |
static bool CanProceedWithFactoryNode
(
UInterchangeFactoryBaseNode& FactoryNode, |
Evaluates whether or not a factory should be called on a factory node in a given reimport context. | InterchangeImportCommon.h | |
static void ClearBackupSourceData
(
const UAssetImportData* AssetImportData |
Clears the backedup SourceData. | InterchangeImportCommon.h | |
static const UInterchangeFactoryBaseNode * GetFactoryNode
(
UObject* ReimportObject, |
If the ReimportObject is a UInterchangeSceneImportAsset, returns the factory node associated with the asset which path is //PackageName.AssetName[:SubPathString]. | InterchangeImportCommon.h | |
static UObject * GetObjectToReimport
(
UInterchangeFactoryBase* Factory, |
If the ReimportObject is a UInterchangeSceneImportAsset, returns the UObject which asset path is //PackageName.AssetName[:SubPathString]. | InterchangeImportCommon.h | |
static bool GetSourceFilenames
(
const UAssetImportData* AssetImportData, |
Fills the OutSourceFilenames array with the list of source files contained in the asset source data. | InterchangeImportCommon.h | |
static void ReinstateSourceData
(
UAssetImportData* AssetImportData |
Reinstates the backedup SourceData. | InterchangeImportCommon.h | |
static UAssetImportData * SetImportAssetData
(
FSetImportAssetDataParameters& Parameters |
Set the AssetImportData source file of the specified asset in the parameters. | InterchangeImportCommon.h | |
static bool SetReimportSourceIndex
(
const UObject* Object, |
Set the object's reimport source at the specified index value. | InterchangeImportCommon.h | |
static bool SetSourceFilename
(
UAssetImportData* AssetImportData, |
Sets the SourceFileName value at the specified index. | InterchangeImportCommon.h | |
static UAssetImportData * UpdateImportAssetData
(
FUpdateImportAssetDataParameters& Parameters |
Update the AssetImportData source file of the specified asset in the parameters. | InterchangeImportCommon.h | |
static UAssetImportData * UpdateImportAssetData
(
FUpdateImportAssetDataParameters& Parameters, |
Update the AssetImportData of the specified asset in the parameters. | InterchangeImportCommon.h |