|
Blender V4.5
|
Public Member Functions | |
| FbxImportContext (Main *main, const ufbx_scene *fbx, const FBXImportParams ¶ms) | |
| ~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 | |
| Main * | bmain |
| const ufbx_scene & | fbx |
| const FBXImportParams & | params |
| std::string | base_dir |
| FbxElementMapping | mapping |
Definition at line 42 of file fbx_import.cc.
|
inline |
Definition at line 49 of file fbx_import.cc.
References base_dir, BLI_fopen(), BLI_path_split_dir_part(), bmain, fbx, FILE_MAX, blender::io::fbx::FbxElementMapping::global_conv_matrix, main, and params.
|
inline |
Definition at line 69 of file fbx_import.cc.
| void blender::io::fbx::FbxImportContext::import_animation | ( | double | fps | ) |
Definition at line 276 of file fbx_import.cc.
References bmain, fbx, blender::io::fbx::import_animations(), mapping, and params.
| 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.
| void blender::io::fbx::FbxImportContext::import_cameras | ( | ) |
Definition at line 136 of file fbx_import.cc.
References BKE_camera_add(), BKE_object_add_only_object(), bmain, CAM_DOF_ENABLED, CAM_ORTHO, CAM_PERSP, Camera::clip_end, Camera::clip_start, Camera::dof, fbx, CameraDOFSettings::flag, CameraDOFSettings::focus_distance, blender::io::fbx::get_fbx_name(), Camera::id, Camera::lens, mapping, blender::io::fbx::node_matrix_to_obj(), OB_CAMERA, OB_HIDE_VIEWPORT, Camera::ortho_scale, params, blender::io::fbx::read_custom_properties(), Camera::sensor_x, Camera::sensor_y, Camera::shiftx, Camera::shifty, blender::io::fbx::should_import_camera(), this, and Camera::type.
| void blender::io::fbx::FbxImportContext::import_empties | ( | ) |
Definition at line 245 of file fbx_import.cc.
References BKE_object_add_only_object(), bmain, ELEM, fbx, blender::io::fbx::get_fbx_name(), mapping, blender::io::fbx::node_matrix_to_obj(), OB_EMPTY, OB_HIDE_VIEWPORT, params, blender::io::fbx::read_custom_properties(), and this.
| 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, and Scene::r.
Referenced by blender::io::fbx::importer_main().
| void blender::io::fbx::FbxImportContext::import_lights | ( | ) |
Definition at line 187 of file fbx_import.cc.
References Light::b, BKE_light_add(), BKE_object_add_only_object(), bmain, DEG2RAD, Light::energy, Light::exposure, fbx, Light::g, blender::io::fbx::get_fbx_name(), Light::id, LA_LOCAL, LA_SHADOW, LA_SPOT, LA_SUN, mapping, Light::mode, blender::io::fbx::node_matrix_to_obj(), OB_HIDE_VIEWPORT, OB_LAMP, params, Light::r, blender::io::fbx::read_custom_properties(), Light::spotblend, Light::spotsize, this, and Light::type.
| void blender::io::fbx::FbxImportContext::import_materials | ( | ) |
Definition at line 98 of file fbx_import.cc.
References base_dir, bmain, fbx, Material::id, blender::io::fbx::import_material(), mapping, params, blender::io::fbx::read_custom_properties(), and this.
| 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.
| void blender::io::fbx::FbxImportContext::setup_hierarchy | ( | ) |
Definition at line 284 of file fbx_import.cc.
| std::string blender::io::fbx::FbxImportContext::base_dir |
Definition at line 46 of file fbx_import.cc.
Referenced by FbxImportContext(), and import_materials().
| Main* blender::io::fbx::FbxImportContext::bmain |
Definition at line 43 of file fbx_import.cc.
Referenced by FbxImportContext(), import_animation(), import_armatures(), import_cameras(), import_empties(), import_lights(), import_materials(), and import_meshes().
| const ufbx_scene& blender::io::fbx::FbxImportContext::fbx |
Definition at line 44 of file fbx_import.cc.
Referenced by FbxImportContext(), import_animation(), import_armatures(), import_cameras(), import_empties(), import_globals(), import_lights(), import_materials(), import_meshes(), and blender::io::fbx::importer_main().
| FbxElementMapping blender::io::fbx::FbxImportContext::mapping |
Definition at line 47 of file fbx_import.cc.
Referenced by import_animation(), import_armatures(), import_cameras(), import_empties(), import_lights(), import_materials(), import_meshes(), and setup_hierarchy().
| const FBXImportParams& blender::io::fbx::FbxImportContext::params |
Definition at line 45 of file fbx_import.cc.
Referenced by FbxImportContext(), import_animation(), import_armatures(), import_cameras(), import_empties(), import_lights(), import_materials(), and import_meshes().