Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Factories
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UFactory
- USceneImportFactory
- UFbxSceneImportFactory
- UReimportFbxSceneFactory
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/Factories/FbxSceneImportFactory.h |
| Include | #include "Factories/FbxSceneImportFactory.h" |
Syntax
class UFbxSceneImportFactory : public USceneImportFactory
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< TSharedPtr< FFbxAttributeInfo >, UObject * > | AllNewAssets | Assets created by the factory | |
| TObjectPtr< class UFbxAnimSequenceImportData > | AnimSequenceImportData | Import data used when importing animations | |
| UnFbx::FBXImportOptions * | GlobalImportSettings | Global Setting for non overriden Node | |
| UnFbx::FBXImportOptions * | GlobalImportSettingsReference | The Global Settings Reference | |
| bool | ImportWasCancel | Is the import was cancel | |
| ImportOptionsNameMap | NameOptionsMap | The options dictionary | |
| FString | Path | The path of the asset to import | |
| TObjectPtr< UFbxSceneImportData > | ReimportData | Pointer on the fbx scene import data, we fill this object to be able to do re import of the scene | |
| TObjectPtr< class UFbxSceneImportOptions > | SceneImportOptions | Import options UI detail when importing fbx scene | |
| TObjectPtr< class UFbxSceneImportOptionsSkeletalMesh > | SceneImportOptionsSkeletalMesh | Import options UI detail when importing fbx scene skeletal mesh | |
| TObjectPtr< class UFbxSceneImportOptionsStaticMesh > | SceneImportOptionsStaticMesh | Import options UI detail when importing fbx scene static mesh | |
| TObjectPtr< class UFbxSkeletalMeshImportData > | SkeletalMeshImportData | Import data used when importing skeletal meshes | |
| TObjectPtr< class UFbxStaticMeshImportData > | StaticMeshImportData | Import data used when importing static meshes | |
| TObjectPtr< class UFbxTextureImportData > | TextureImportData | Import data used when importing textures |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UFbxSceneImportFactory
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyMeshInfoFbxOptions
(
TSharedPtr< FFbxMeshInfo > MeshInfo |
Make sure GlobalImportSettings is pointing to the correct options | |
| void | ApplyTransformToComponent
(
USceneComponent* SceneComponent, |
Apply the LocalTransform to the SceneComponent and if PreMultiplyTransform is not null do a pre multiplication SceneComponent: Must be a valid pointer LocalTransform: Must be a valid pointer PreMultiplyTransform: Can be nullptr | |
| void | ChangeFrontAxis
(
void* VoidFbxImporter, |
Convert the scene and remake all the transform for the SceneInfo pass in parameter. | |
| TSharedPtr< FFbxSceneInfo > | ConvertSceneInfo
(
void* VoidFbxImporter, |
||
| AActor * | CreateActorComponentsHierarchy
(
TSharedPtr< FFbxSceneInfo > SceneInfoPtr |
Create a hierarchy of actor in the current level | |
| void | CreateLevelActorHierarchy
(
TSharedPtr< FFbxSceneInfo > SceneInfoPtr |
Create a hierarchy of actor in the current level | |
| UPackage * | CreatePackageForNode
(
FString PackageName, |
Create a package for the specified node. | |
| void | ExtractMaterialInfo
(
void* FbxImporterVoid, |
||
| void | FillSceneHierarchyPath
(
TSharedPtr< FFbxSceneInfo > SceneInfo |
Compute the path of every node and fill the result in the node. | |
| bool | FindSceneNodeInfo
(
TSharedPtr< FFbxSceneInfo > SceneInfo, |
Find the FFbxNodeInfo in the hierarchy. | |
| UnFbx::FBXImportOptions * | GetOptionsFromName
(
FString OptionName |
Return the Options from the NameOptionMap Map. return nulptr if the options are not found | |
| void | ImportAllSkeletalMesh
(
void* VoidRootNodeToImport, |
Import all skeletal mesh from the fbx scene | |
| void | ImportAllStaticMesh
(
void* VoidRootNodeToImport, |
Import all static mesh from the fbx scene | |
| UObject * | ImportANode
(
void* VoidFbxImporter, |
||
| UObject * | ImportOneSkeletalMesh
(
void* VoidRootNodeToImport, |
||
| UObject * | RecursiveImportNode
(
void* FFbxImporter, |
||
| bool | SetStaticMeshComponentOverrideMaterial
(
UStaticMeshComponent* StaticMeshComponent, |
Overridden from USceneImportFactory
| Type | Name | Description | |
|---|---|---|---|
| bool | USceneImportFactory Interface |
Overridden from UFactory
| Type | Name | Description | |
|---|---|---|---|
| bool | FactoryCanImport
(
const FString& Filename |
Whether the specified file can be imported by this factory. | |
| UObject * | FactoryCreateBinary
(
UClass* InClass, |
Create a new object by importing it from a binary buffer. | |
| UObject * | FactoryCreateBinary
(
UClass* InClass, |
Create a new object by importing it from a binary buffer (cancelable). | |
| UObject * | FactoryCreateFile
(
UClass* InClass, |
UFactory Interface | |
| TArray< FString > | GetFormats () |
Constants
| Name | Description |
|---|---|
| DefaultOptionName | Default Options always have the same name "Default" |