UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Interchange::FImportAsyncHelper Class Reference

#include <InterchangeManager.h>

+ Inheritance diagram for UE::Interchange::FImportAsyncHelper:

Classes

struct  FImportedObjectInfo
 

Public Member Functions

 FImportAsyncHelper ()
 
 ~FImportAsyncHelper ()
 
virtual void AddReferencedObjects (FReferenceCollector &Collector) override
 
virtual FString GetReferencerName () const override
 
bool IsClassImportAllowed (UClass *Class)
 
UPackageGetCreatedPackage (const FString &PackageName) const
 
void AddCreatedPackage (const FString &PackageName, UPackage *Package)
 
UInterchangeFactoryBaseGetCreatedFactory (const FString &FactoryNodeUniqueId) const
 
void AddCreatedFactory (const FString &FactoryNodeUniqueId, UInterchangeFactoryBase *Factory)
 
INTERCHANGEENGINE_API FImportedObjectInfoAddDefaultImportedAssetGetRef (int32 SourceIndex)
 
const FImportedObjectInfoFindImportedAssets (int32 SourceIndex, TFunction< bool(const FImportedObjectInfo &ImportedObjects) > Predicate) const
 
void IterateImportedAssets (int32 SourceIndex, TFunction< void(const TArray< FImportedObjectInfo > &ImportedObjects) > Callback) const
 
void IterateImportedAssetsPerSourceIndex (TFunction< void(int32 SourceIndex, const TArray< FImportedObjectInfo > &ImportedObjects) > Callback) const
 
FImportedObjectInfoAddDefaultImportedSceneObjectGetRef (int32 SourceIndex)
 
const FImportedObjectInfoFindImportedSceneObjects (int32 SourceIndex, TFunction< bool(const FImportedObjectInfo &ImportedObjects) > Predicate) const
 
void IterateImportedSceneObjects (int32 SourceIndex, TFunction< void(const TArray< FImportedObjectInfo > &ImportedObjects) > Callback) const
 
void IterateImportedSceneObjectsPerSourceIndex (TFunction< void(int32 SourceIndex, const TArray< FImportedObjectInfo > &ImportedObjects) > Callback) const
 
bool IsImportingObject (UObject *Object) const
 
void SendAnalyticImportEndData ()
 
void ReleaseTranslatorsSource ()
 
TArray< uint64GetCompletionTaskGraphEvent ()
 
void InitCancel ()
 
void CleanUp ()
 

Public Attributes

bool bRunSynchronous = false
 
bool bRuntimeOrPIE = false
 
int32 UniqueId
 
FString ContentBasePath
 
TArray< TStrongObjectPtr< UInterchangeBaseNodeContainer > > BaseNodeContainers
 
TArray< TObjectPtr< UInterchangeSourceData > > SourceDatas
 
TArray< TObjectPtr< UInterchangeTranslatorBase > > Translators
 
TArray< TObjectPtr< UInterchangePipelineBase > > Pipelines
 
TArray< UObject * > OriginalPipelines
 
TArray< uint64TranslatorTasks
 
TArray< uint64PipelineTasks
 
TArray< uint64WaitAssetCompilationTasks
 
TArray< uint64PostImportTasks
 
uint64 ParsingTask
 
TArray< uint64ImportObjectQueryPayloadsTasks
 
TArray< uint64BeginImportObjectTasks
 
TArray< uint64ImportObjectTasks
 
TArray< uint64FinalizeImportObjectTasks
 
TArray< uint64SceneTasks
 
uint64 PreCompletionTask
 
uint64 CompletionTask
 
FImportAsyncHelperData TaskData
 
FAssetImportResultRef AssetImportResult
 
FSceneImportResultRef SceneImportResult
 
std::atomic< boolbCancel
 
double TaskExecuteStarted
 

Additional Inherited Members

- Protected Types inherited from FGCObject
enum class  EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 }
 
- Protected Member Functions inherited from FGCObject
 FGCObject ()
 
 FGCObject (const FGCObject &Other)
 
 FGCObject (FGCObject &&Other)
 
 FGCObject (EFlags Flags)
 
virtual ~FGCObject ()
 
FGCObjectoperator= (const FGCObject &)
 
FGCObjectoperator= (FGCObject &&)
 
COREUOBJECT_API void RegisterGCObject ()
 
COREUOBJECT_API void UnregisterGCObject ()
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 
- Static Protected Member Functions inherited from FGCObject
static COREUOBJECT_API void StaticInit ()
 
- Static Protected Attributes inherited from FGCObject
static COREUOBJECT_API UGCObjectReferencerGGCObjectReferencer = nullptr
 

Constructor & Destructor Documentation

◆ FImportAsyncHelper()

UE::Interchange::FImportAsyncHelper::FImportAsyncHelper ( )

◆ ~FImportAsyncHelper()

UE::Interchange::FImportAsyncHelper::~FImportAsyncHelper ( )

Member Function Documentation

◆ AddCreatedFactory()

void UE::Interchange::FImportAsyncHelper::AddCreatedFactory ( const FString &  FactoryNodeUniqueId,
UInterchangeFactoryBase Factory 
)

◆ AddCreatedPackage()

void UE::Interchange::FImportAsyncHelper::AddCreatedPackage ( const FString &  PackageName,
UPackage Package 
)

◆ AddDefaultImportedAssetGetRef()

UE::Interchange::FImportAsyncHelper::FImportedObjectInfo & UE::Interchange::FImportAsyncHelper::AddDefaultImportedAssetGetRef ( int32  SourceIndex)

◆ AddDefaultImportedSceneObjectGetRef()

UE::Interchange::FImportAsyncHelper::FImportedObjectInfo & UE::Interchange::FImportAsyncHelper::AddDefaultImportedSceneObjectGetRef ( int32  SourceIndex)

◆ AddReferencedObjects()

void UE::Interchange::FImportAsyncHelper::AddReferencedObjects ( FReferenceCollector Collector)
overridevirtual

Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.

Parameters
CollectorThe collector of referenced objects.

Implements FGCObject.

◆ CleanUp()

void UE::Interchange::FImportAsyncHelper::CleanUp ( )

◆ FindImportedAssets()

const UE::Interchange::FImportAsyncHelper::FImportedObjectInfo * UE::Interchange::FImportAsyncHelper::FindImportedAssets ( int32  SourceIndex,
TFunction< bool(const FImportedObjectInfo &ImportedObjects) >  Predicate 
) const

◆ FindImportedSceneObjects()

const UE::Interchange::FImportAsyncHelper::FImportedObjectInfo * UE::Interchange::FImportAsyncHelper::FindImportedSceneObjects ( int32  SourceIndex,
TFunction< bool(const FImportedObjectInfo &ImportedObjects) >  Predicate 
) const

◆ GetCompletionTaskGraphEvent()

TArray< uint64 > UE::Interchange::FImportAsyncHelper::GetCompletionTaskGraphEvent ( )

Wait synchronously after the graph parsing task is done, and return the GraphEventArray up to the completion TaskGraphEvent.

◆ GetCreatedFactory()

UInterchangeFactoryBase * UE::Interchange::FImportAsyncHelper::GetCreatedFactory ( const FString &  FactoryNodeUniqueId) const

◆ GetCreatedPackage()

UPackage * UE::Interchange::FImportAsyncHelper::GetCreatedPackage ( const FString &  PackageName) const

◆ GetReferencerName()

virtual FString UE::Interchange::FImportAsyncHelper::GetReferencerName ( ) const
inlineoverridevirtual

Overload this method to report a name for your referencer

Implements FGCObject.

◆ InitCancel()

void UE::Interchange::FImportAsyncHelper::InitCancel ( )

◆ IsClassImportAllowed()

bool UE::Interchange::FImportAsyncHelper::IsClassImportAllowed ( UClass Class)

◆ IsImportingObject()

bool UE::Interchange::FImportAsyncHelper::IsImportingObject ( UObject Object) const

◆ IterateImportedAssets()

void UE::Interchange::FImportAsyncHelper::IterateImportedAssets ( int32  SourceIndex,
TFunction< void(const TArray< FImportedObjectInfo > &ImportedObjects) >  Callback 
) const

◆ IterateImportedAssetsPerSourceIndex()

void UE::Interchange::FImportAsyncHelper::IterateImportedAssetsPerSourceIndex ( TFunction< void(int32 SourceIndex, const TArray< FImportedObjectInfo > &ImportedObjects) >  Callback) const

◆ IterateImportedSceneObjects()

void UE::Interchange::FImportAsyncHelper::IterateImportedSceneObjects ( int32  SourceIndex,
TFunction< void(const TArray< FImportedObjectInfo > &ImportedObjects) >  Callback 
) const

◆ IterateImportedSceneObjectsPerSourceIndex()

void UE::Interchange::FImportAsyncHelper::IterateImportedSceneObjectsPerSourceIndex ( TFunction< void(int32 SourceIndex, const TArray< FImportedObjectInfo > &ImportedObjects) >  Callback) const

◆ ReleaseTranslatorsSource()

void UE::Interchange::FImportAsyncHelper::ReleaseTranslatorsSource ( )

◆ SendAnalyticImportEndData()

void UE::Interchange::FImportAsyncHelper::SendAnalyticImportEndData ( )

Member Data Documentation

◆ AssetImportResult

FAssetImportResultRef UE::Interchange::FImportAsyncHelper::AssetImportResult

◆ BaseNodeContainers

TArray<TStrongObjectPtr<UInterchangeBaseNodeContainer> > UE::Interchange::FImportAsyncHelper::BaseNodeContainers

◆ bCancel

std::atomic<bool> UE::Interchange::FImportAsyncHelper::bCancel

◆ BeginImportObjectTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::BeginImportObjectTasks

◆ bRunSynchronous

bool UE::Interchange::FImportAsyncHelper::bRunSynchronous = false

◆ bRuntimeOrPIE

bool UE::Interchange::FImportAsyncHelper::bRuntimeOrPIE = false

◆ CompletionTask

uint64 UE::Interchange::FImportAsyncHelper::CompletionTask

◆ ContentBasePath

FString UE::Interchange::FImportAsyncHelper::ContentBasePath

◆ FinalizeImportObjectTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::FinalizeImportObjectTasks

◆ ImportObjectQueryPayloadsTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::ImportObjectQueryPayloadsTasks

◆ ImportObjectTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::ImportObjectTasks

◆ OriginalPipelines

TArray<UObject*> UE::Interchange::FImportAsyncHelper::OriginalPipelines

◆ ParsingTask

uint64 UE::Interchange::FImportAsyncHelper::ParsingTask

◆ Pipelines

TArray<TObjectPtr<UInterchangePipelineBase> > UE::Interchange::FImportAsyncHelper::Pipelines

◆ PipelineTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::PipelineTasks

◆ PostImportTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::PostImportTasks

◆ PreCompletionTask

uint64 UE::Interchange::FImportAsyncHelper::PreCompletionTask

◆ SceneImportResult

FSceneImportResultRef UE::Interchange::FImportAsyncHelper::SceneImportResult

◆ SceneTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::SceneTasks

◆ SourceDatas

TArray<TObjectPtr<UInterchangeSourceData> > UE::Interchange::FImportAsyncHelper::SourceDatas

◆ TaskData

FImportAsyncHelperData UE::Interchange::FImportAsyncHelper::TaskData

◆ TaskExecuteStarted

double UE::Interchange::FImportAsyncHelper::TaskExecuteStarted

◆ Translators

TArray<TObjectPtr<UInterchangeTranslatorBase> > UE::Interchange::FImportAsyncHelper::Translators

◆ TranslatorTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::TranslatorTasks

◆ UniqueId

int32 UE::Interchange::FImportAsyncHelper::UniqueId

Unique ID for this async helper.

◆ WaitAssetCompilationTasks

TArray<uint64> UE::Interchange::FImportAsyncHelper::WaitAssetCompilationTasks

The documentation for this class was generated from the following files: