Navigation
API > API/Runtime > API/Runtime/InterchangeCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangePipelineBase
- UDatasmithTexturePipeline
- UInterchangeDatasmithPipeline
- UInterchangeGenericAnimationPipeline
- UInterchangeGenericAssetsPipeline
- UInterchangeGenericCommonMeshesProperties
- UInterchangeGenericCommonSkeletalMeshesAndAnimationsProperties
- UInterchangeGenericLevelPipeline
- UInterchangeGenericMaterialPipeline
- UInterchangeGenericMeshPipeline
- UInterchangeGenericTexturePipeline
- UInterchangeGLTFPipeline
- UInterchangeGraphInspectorPipeline
- UInterchangeMaterialXPipeline
- UInterchangePythonPipelineBase
References
| Module | InterchangeCore |
| Header | /Engine/Source/Runtime/Interchange/Core/Public/InterchangePipelineBase.h |
| Include | #include "InterchangePipelineBase.h" |
Syntax
class UInterchangePipelineBase : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAllowPropertyStatesEdition | If true, the property editor for this pipeline instance will allow properties states edition. | |
| bool | bIsReimportContext | If true, this pipeline instance is use for reimport. | |
| EInterchangePipelineContext | CachePipelineContext | ||
| TMap< FName, FInterchangePipelinePropertyStates > | CachePropertiesStates | ||
| TWeakObjectPtr< UObject > | CacheReimportObject | ||
| TMap< FName, FInterchangePipelinePropertyStates > | PropertiesStates | Map of property path and lock status. | |
| TObjectPtr< UInterchangeResultsContainer > | Results |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddMessage
(
UInterchangeResult* Item |
||
| T * | AddMessage () |
This function is used to add the given message object directly into the results for this operation. | |
| void | AdjustSettingsForContext
(
EInterchangePipelineContext ReimportType, |
This function is call when before we show the pipeline dialog. | |
| void | |||
| bool | |||
| bool | CanExecuteOnAnyThread
(
EInterchangePipelineTask PipelineTask |
This function tell the interchange manager if we can execute this pipeline in async mode. | |
| bool | DoesPropertyStatesExist
(
const FName PropertyPath |
Return true if the property has valid states, false if no states was set for the property | |
| void | ExecuteExportPipeline
(
UInterchangeBaseNodeContainer* BaseNodeContainer |
This function can modify the BaseNodeContainer to create a pipeline that will set/validate the graph nodes hierarchy and options. | |
| void | ExecutePipeline
(
UInterchangeBaseNodeContainer* BaseNodeContainer, |
This function is called after the translation is done. | |
| void | ExecutePostFactoryPipeline
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
This function is called after the factory create an asset, but before PostEditChange is called. | |
| void | ExecutePostImportPipeline
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
This function is called after the unreal asset is completely import and PostEditChange was called. | |
| FInterchangePipelinePropertyStates & | FindOrAddPropertyStates
(
const FName PropertyPath |
Return a mutable property states Reference. Add the property states if it doesnt exist. | |
| UInterchangePipelineBase * | |||
| FInterchangePipelinePropertyStates * | GetMutablePropertyStates
(
const FName PropertyPath |
Return a mutable property states pointer. Return nullptr if the property do not exist | |
| FName | Return the property name of the properties states map | ||
| bool | GetPropertyPossibleValues
(
const FName PropertyPath, |
FName or FString properties can have a dynamic set of possible values. | |
| const FInterchangePipelinePropertyStates * | GetPropertyStates
(
const FName PropertyPath |
Return a const property states pointer. Return nullptr if the property do not exist | |
| FName | |||
| void | HidePropertiesOfCategory
(
UInterchangePipelineBase* OuterMostPipeline, |
||
| void | HidePropertiesOfSubCategory
(
UInterchangePipelineBase* OuterMostPipeline, |
||
| void | InternalToggleVisibilityPropertiesOfMetaDataValue
(
UInterchangePipelineBase* OuterMostPipeline, |
||
| bool | |||
| bool | IsScripted () |
Non scripted class should return false here, we have the default to true because scripted class cannot override this function since it can be call in a asynchronous thread, which python cannot be executed. | |
| bool | IsSettingsAreValid
(
TOptional< FText >& OutInvalidReason |
This function should return true if all the pipeline settings are in a valid state to start the import. | |
| bool | Return true if the pipeline is not a sub pipeline. | ||
| void | LoadSettings
(
const FName PipelineStackName |
||
| void | LoadSettingsInternal
(
const FName PipelineStackName, |
||
| void | PreDialogCleanup
(
const FName PipelineStackName |
This function is called before showing the import dialog it is not called doing a re-import. | |
| void | SaveSettings
(
const FName PipelineStackName |
||
| void | SaveSettingsInternal
(
const FName PipelineStackName, |
||
| bool | ScriptedCanExecuteOnAnyThread
(
EInterchangePipelineTask PipelineTask |
Non virtual helper to allow blueprint to implement event base function let the interchange know if it can run asynchronously. | |
| bool | ScriptedCanExecuteOnAnyThread_Implementation
(
EInterchangePipelineTask PipelineTask |
The default implementation (call if the blueprint do not have any implementation) will call the virtual CanExecuteAsync | |
| void | ScriptedExecuteExportPipeline
(
UInterchangeBaseNodeContainer* BaseNodeContainer |
Non virtual helper to allow blueprint to implement event base function let the interchange know if it can run asynchronously. | |
| void | ScriptedExecuteExportPipeline_Implementation
(
UInterchangeBaseNodeContainer* BaseNodeContainer |
The default implementation (call if the blueprint do not have any implementation) will call the virtual ExecuteExportPipeline | |
| void | ScriptedExecutePipeline
(
UInterchangeBaseNodeContainer* BaseNodeContainer, |
ScriptedExecutePipeline, is call after the translation and before we parse the graph to call the factory. | |
| void | ScriptedExecutePipeline_Implementation
(
UInterchangeBaseNodeContainer* BaseNodeContainer, |
The default implementation (call if the blueprint do not have any implementation) will call the virtual ExecutePipeline | |
| void | ScriptedExecutePostFactoryPipeline
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
ScriptedExecutePostFactoryPipeline is call after the factory create the unreal asset but before calling PostEditChange. | |
| void | ScriptedExecutePostFactoryPipeline_Implementation
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
The default implementation (call if the blueprint do not have any implementation) will call the virtual ExecutePostFactoryPipeline | |
| void | ScriptedExecutePostImportPipeline
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
||
| void | ScriptedExecutePostImportPipeline_Implementation
(
const UInterchangeBaseNodeContainer* BaseNodeContainer, |
The default implementation (call if the blueprint do not have any implementation) will call the virtual ExecutePostImportPipeline | |
| void | ScriptedSetReimportSourceIndex
(
UClass* ReimportObjectClass, |
Non virtual helper to allow blueprint to implement event base function. | |
| void | ScriptedSetReimportSourceIndex_Implementation
(
UClass* ReimportObjectClass, |
The default implementation (call if the blueprint do not have any implementation) will call the virtual SetReimportContentFromSourceIndex | |
| void | SetReimportSourceIndex
(
UClass* ReimportObjectClass, |
||
| void | SetResultsContainer
(
UInterchangeResultsContainer* InResults |
||
| bool | End UObject overrides If it return true it mean we want to save this pipeline in the asset import data. | ||
| void | TransferAdjustSettings
(
UInterchangePipelineBase* SourcePipeline |
Transfer the source pipeline adjust settings to this pipeline. | |
| void | Update/Re-set the TWeakObjectPtrs to point to their original TObjectPtr Works based on Variable naming. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostDuplicate
(
bool bDuplicateForPIE |
Begin UObject overrides |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ExecutePreImportPipeline
(
UInterchangeBaseNodeContainer* BaseNodeContainer, |
This function is replace by ExecutePipeline. | |
| void | ScriptedExecutePreImportPipeline
(
UInterchangeBaseNodeContainer* BaseNodeContainer, |
This function is replace by ScriptedExecutePipeline. | |
| void | ScriptedExecutePreImportPipeline_Implementation
(
UInterchangeBaseNodeContainer* BaseNodeContainer, |
This internal public function is deprecated and not replace by any. |