Blender V5.0
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 43 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 70 of file fbx_import.cc.

Member Function Documentation

◆ import_animation()

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

Definition at line 285 of file fbx_import.cc.

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

◆ import_armatures()

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

Definition at line 249 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 91 of file fbx_import.cc.

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

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

◆ import_lights()

◆ import_materials()

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

◆ import_meshes()

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

Definition at line 118 of file fbx_import.cc.

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

◆ setup_hierarchy()

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

Definition at line 293 of file fbx_import.cc.

References ELEM, and mapping.

Member Data Documentation

◆ base_dir

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

Definition at line 47 of file fbx_import.cc.

Referenced by FbxImportContext(), and import_materials().

◆ bmain

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

◆ 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: