Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FFbxImporter
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/FbxImporter.h |
| Include | #include "FbxImporter.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Fbx/FbxStaticMeshImport.cpp |
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. UObject* the UStaticMesh object.
Parameters
| Name | 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 |