Blender V4.5
blender::io::fbx::FbxImportContext Struct Reference

Public Member Functions

 FbxImportContext (Main *main, const ufbx_scene *fbx, const FBXImportParams &params)
 
 ~FbxImportContext ()
 
void import_globals (Scene *scene) const
 
void import_materials ()
 
void import_meshes ()
 
void import_cameras ()
 
void import_lights ()
 
void import_empties ()
 
void import_armatures ()
 
void import_animation (double fps)
 
void setup_hierarchy ()
 

Public Attributes

Mainbmain
 
const ufbx_scene & fbx
 
const FBXImportParamsparams
 
std::string base_dir
 
FbxElementMapping mapping
 

Detailed Description

Definition at line 42 of file fbx_import.cc.

Constructor & Destructor Documentation

◆ FbxImportContext()

blender::io::fbx::FbxImportContext::FbxImportContext ( Main * main,
const ufbx_scene * fbx,
const FBXImportParams & params )
inline

◆ ~FbxImportContext()

blender::io::fbx::FbxImportContext::~FbxImportContext ( )
inline

Definition at line 69 of file fbx_import.cc.

Member Function Documentation

◆ import_animation()

void blender::io::fbx::FbxImportContext::import_animation ( double fps)

◆ import_armatures()

void blender::io::fbx::FbxImportContext::import_armatures ( )

Definition at line 240 of file fbx_import.cc.

References bmain, fbx, blender::io::fbx::import_armatures(), mapping, and params.

◆ import_cameras()

◆ import_empties()

◆ import_globals()

void blender::io::fbx::FbxImportContext::import_globals ( Scene * scene) const

Definition at line 90 of file fbx_import.cc.

References fbx, RenderData::frs_sec, RenderData::frs_sec_base, Scene::r, and scene.

Referenced by blender::io::fbx::importer_main().

◆ import_lights()

◆ import_materials()

◆ import_meshes()

void blender::io::fbx::FbxImportContext::import_meshes ( )

Definition at line 109 of file fbx_import.cc.

References bmain, fbx, blender::io::fbx::import_meshes(), mapping, and params.

◆ setup_hierarchy()

Member Data Documentation

◆ base_dir

std::string blender::io::fbx::FbxImportContext::base_dir

Definition at line 46 of file fbx_import.cc.

Referenced by FbxImportContext(), and import_materials().

◆ bmain

Main* blender::io::fbx::FbxImportContext::bmain

◆ fbx

const ufbx_scene& blender::io::fbx::FbxImportContext::fbx

◆ mapping

FbxElementMapping blender::io::fbx::FbxImportContext::mapping

◆ params

const FBXImportParams& blender::io::fbx::FbxImportContext::params

The documentation for this struct was generated from the following file: