anti
anti

Reputation: 3135

Unreal Engine 4, import with c++?

I need to import an fbx into UE4 using c++. This is to eventually write a batch importer that sets up material connects etc upon import.

I am, however, stuck at the first hurdle.

I cannot find any info on this anywhere.

How can I load an fbx model into the editor using c++ ?

edit:

I do not need to do this at runtime, I just need to import the models into the editor, and adjust their location/material settings as I do so..

Upvotes: 3

Views: 4126

Answers (1)

kat0r
kat0r

Reputation: 949

Parse the .fbx (there are enough docs), then create the mesh at runtime would be one way.

If you only need the editor stuff, check out the FbxMainImport.cpp

FFbxImporter::OpenFile
FbxNode* GetFirstFbxMesh(FbxNode* Node, bool bIsSkelMesh)

etc...

Upvotes: 1

Related Questions