FFbxImporter::ImportStaticMeshAsSingle

Creates a static mesh from all the meshes in FBX scene with the given name and flags.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/FbxImporter.h

Include

#include "FbxImporter.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp

Syntax

UStaticMesh * ImportStaticMeshAsSingle
(
    UObject * InParent,
    TArray< FbxNode * > & MeshNodeArray,
    const FName InName,
    EObjectFlags Flags,
    UFbxStaticMeshImportData * TemplateImportData,
    UStaticMesh * InStaticMesh,
    int LODIndex,
    const FExistingStaticMeshData * ExistMeshDataPtr
)

Remarks

Creates a static mesh from all the meshes in FBX scene with the given name and flags.

Returns

UObject* the UStaticMesh object.

Parameters

Parameter

Description

InParent

MeshNodeArray

Fbx Nodes to import

Name

the Unreal Mesh name after import

Flags

InStaticMesh

if LODIndex is not 0, this is the base mesh object. otherwise is NULL

LODIndex

LOD level to import to

OrderedMaterialNames

If not null, the original fbx ordered materials name will be use to reorder the section of the mesh we currently import

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss