Module |
|
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
)
Creates a static mesh from all the meshes in FBX scene with the given name and flags.
UObject* the UStaticMesh object.
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 |