UFbxFactory

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Factories/FbxFactory.h

Include

#include "Factories/FbxFactory.h"

Syntax

class UFbxFactory : public UFactory

Variables

Name Description

Protected variable

bool

 

bDetectImportTypeOnImport

Protected variable

bool

 

bOperationCanceled

True if the import operation was canceled.

Protected variable

bool

 

bShowOption

Public variable

TObjectPtr< cla...

 

ImportUI

Public variable

TObjectPtr< cla...

 

OriginalImportUI

Prevent garbage collection of original when overriding ImportUI property

Constructors

Name Description

Public function

UFbxFactory

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

bool

 

DetectImportType

(
    const FString& InFilename
)

Detect mesh type to import: Static Mesh or Skeletal Mesh. Only the first mesh will be detected.

Public function

void

 

EnableShowOption()

Set import batch

Protected function Const

FText

 

GetImportTaskText

(
    const FText& TaskText
)

Used to display special task progression text if needs be (like import being cancelled).

Protected function

UObject *...

 

ImportANode

(
    UnFbx::FFbxImporter* FbxImport...,
    TArray< void* > VoidNodes,
    UObject* InParent,
    FName InName,
    EObjectFlags Flags,
    FScopedSlowTask& SlowTask,
    UObject* InMesh,
    int LODIndex
)

Protected function

UObject *...

 

RecursiveImportNode

(
    UnFbx::FFbxImporter* FFbxImpor...,
    void* Node,
    UObject* InParent,
    FName InName,
    EObjectFlags Flags,
    FScopedSlowTask& SlowTask,
    TArray< UObject* >& OutNewAss...
)

Public function

void

 

SetDetectImportTypeOnImport

(
    bool bDetectState
)

Overridden from UFactory

Name Description

Public function Virtual Const

bool

 

CanImportBeCanceled()

Whether the factory is checking for SlowTask::ShouldCancel() while importing and aborting the import when appropriate.

Public function Virtual

void

 

CleanUp()

Do clean up after importing is done. Will be called once for multi batch import.

Public function Virtual

bool

 

ConfigureProperties()

Opens a dialog to configure the factory properties.

Public function Virtual

bool

 

DoesSupportClass

(
    UClass* Class
)

Public function Virtual

bool

 

FactoryCanImport

(
    const FString& Filename
)

Whether the specified file can be imported by this factory.

Public function Virtual

UObject *...

 

FactoryCreateFile

(
    UClass* InClass,
    UObject* InParent,
    FName InName,
    EObjectFlags Flags,
    const FString& Filename,
    const TCHAR* Parms,
    FFeedbackContext* Warn,
    bool& bOutOperationCanceled
)

Create a new object by importing it from a file name.

Public function Virtual

IImportSetti...

 

GetImportSettingsParser()

Public function Virtual

UClass *

 

ResolveSupportedClass()

Resolves SupportedClass for factories which support multiple classes.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.