Navigation
API > API/Runtime > API/Runtime/InterchangeEngine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeManager
References
Module | InterchangeEngine |
Header | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeManager.h |
Include | #include "InterchangeManager.h" |
Syntax
class UInterchangeManager : public UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FInterchangeOnAssetPostImport | OnAssetPostImport | |
![]() |
FInterchangeOnAssetPostReimport | OnAssetPostReimport | |
![]() |
FInterchangeOnBatchImportComplete | OnBatchImportComplete | |
![]() |
FSimpleMulticastDelegate | OnPreDestroyInterchangeManager | Called when before the application is exiting. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | This function cancel all task and finish them has fast as possible. | |
![]() ![]() |
bool | CanReimport
(
const UObject* Object, |
Returns true if Interchange can create that type of assets and is able to translate its source file. |
![]() ![]() |
bool | CanTranslateSourceData
(
const UInterchangeSourceData* SourceData |
Look if there is a registered translator for this source data. |
![]() ![]() |
bool | CanTranslateSourceDataWithPayloadInterface
(
const UInterchangeSourceData* SourceData, |
Look if there is a translator registered that can translate the source data with the specified PayloadInterface SourceData - The source data input we want to translate to Uod |
![]() |
TSharedRef< UE::Interchange::FImportAsyncHelper, ESPMode::ThreadSafe > | CreateAsyncHelper
(
const UE::Interchange::FImportAsyncHelperData& Data, |
Return an FImportAsynHelper pointer. The pointer is deleted when ReleaseAsyncHelper is call. |
![]() ![]() |
UInterchangeSourceData * | CreateSourceData
(
const FString& InFileName |
Script helper to create a source data object pointing on a file on disk InFilename: Specify a file on disk |
![]() |
bool | ExportAsset
(
const UObject* Asset, |
Call this to start an export asset process, the caller must specify a source data. |
![]() |
bool | ExportScene
(
const UObject* World, |
Call this to start an export scene process, the caller must specify a source data This import process can import many different asset and there transform (USceneComponent) and store the result in a blueprint and add the blueprint to the level. |
![]() |
void | FindPipelineCandidate
(
TArray< UClass* >& PipelineCandidates |
Find all Pipeline candidate (c++, blueprint and python). |
![]() ![]() |
UInterchangeManager & | Return the interchange manager singleton. | |
![]() ![]() |
UInterchangeManager * | Return the interchange manager singleton pointer. | |
![]() ![]() |
const UClass * | GetRegisteredFactoryClass
(
const UClass* ClassToMake |
Script helper to get a registered factory for a specified class FactoryClass: The class we search a registerd factory |
![]() ![]() |
TArray< FString > | GetSupportedAssetTypeFormats
(
const EInterchangeTranslatorAssetType ForTranslatorAssetType |
Returns the list of formats supporting the specified translator asset type. |
![]() ![]() |
TArray< FString > | GetSupportedFormats
(
const EInterchangeTranslatorType ForTranslatorType |
Returns the list of supported formats for a given translator type. |
![]() ![]() |
TArray< FString > | GetSupportedFormatsForObject
(
const UObject* Object |
Returns the list of supported formats for a given Object. |
![]() ![]() |
UInterchangeTranslatorBase * | GetTranslatorForSourceData
(
const UInterchangeSourceData* SourceData |
Return the first translator that can translate the source data. |
![]() ![]() |
UInterchangeTranslatorBase * | GetTranslatorSupportingPayloadInterfaceForSourceData
(
const UInterchangeSourceData* SourceData, |
Return the first translator that can translate the source data with the specified PayloadInterface. |
![]() |
bool | ImportAsset
(
const FString& ContentPath, |
Call this to start an import asset process, the caller must specify a source data. |
![]() |
UE::Interchange::FAssetImportResultRef | ImportAssetAsync
(
const FString& ContentPath, |
Call this to start an import asset process, the caller must specify a source data. |
![]() |
TTuple< UE::Interchange::FAssetImportResultRef, UE::Interchange::FSceneImportResultRef > | ImportInternal
(
const FString& ContentPath, |
Called by the public Import functions |
![]() |
bool | ImportScene
(
const FString& ContentPath, |
Call this to start an import scene process, the caller must specify a source data. |
![]() |
TTuple< UE::Interchange::FAssetImportResultRef, UE::Interchange::FSceneImportResultRef > | ImportSceneAsync
(
const FString& ContentPath, |
|
![]() ![]() |
bool | IsAttended () |
Return true if we can show some UI |
![]() |
bool | Return true if the Interchange is active (importing or exporting), return false otherwise. | |
![]() ![]() |
bool | Return the CVar which make interchange enable or not. | |
![]() ![]() |
bool | IsObjectBeingImported
(
UObject* Object |
Return true if the object is being imported, return false otherwise. |
![]() |
bool | RegisterFactory
(
const UClass* Factory |
Any factory must register to the manager Factory - The UClass of the factory you want to register |
![]() |
bool | RegisterTranslator
(
const UClass* TranslatorClass |
Any translator must register to the manager Translator - The UClass of the translator you want to register |
![]() |
bool | RegisterWriter
(
const UClass* Writer |
Any writer must register to the manager Writer - The UClass of the writer you want to register |
![]() |
void | ReleaseAsyncHelper
(
TWeakPtr< UE::Interchange::FImportAsyncHelper, ESPMode::ThreadSafe > AsyncHelper |
Delete the specified AsyncHelper and remove it from the array that was holding it. |
![]() |
void | SetActiveMode
(
bool IsActive |
If we set the mode to active we will setup the timer and add the thread that will block the GC. |
![]() ![]() |
void | SetInterchangeImportEnabled
(
bool bEnabled |
Set the CVar which make interchange enable or not. |
![]() |
void | StartQueuedTasks
(
bool bCancelAllTasks |
Start task until we reach the taskgraph worker number. |
![]() |
void | WaitUntilAllTasksDone
(
bool bCancel |
Wait synchronously that all tasks are done |
![]() |
bool | Return false if the Interchange is not active (importing or exporting). |
Typedefs
Name | Description |
---|---|
FInterchangeOnAssetPostImport | Delegate type fired when new assets have been imported. |
FInterchangeOnAssetPostReimport | Delegate type fired when new assets have been reimported. |
FInterchangeOnBatchImportComplete | Delegate type fired when import results in an error |