|
Blender V5.0
|
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 43 of file fbx_import.cc.
|
inline |
Definition at line 50 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 70 of file fbx_import.cc.
| 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.
| 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.
| void blender::io::fbx::FbxImportContext::import_cameras | ( | ) |
Definition at line 145 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(), and Camera::type.
| void blender::io::fbx::FbxImportContext::import_empties | ( | ) |
Definition at line 254 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, and blender::io::fbx::read_custom_properties().
| 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().
| void blender::io::fbx::FbxImportContext::import_lights | ( | ) |
Definition at line 196 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, and Light::type.
| void blender::io::fbx::FbxImportContext::import_materials | ( | ) |
Definition at line 99 of file fbx_import.cc.
References base_dir, BKE_libblock_find_name(), bmain, fbx, Material::id, ID_MA, blender::io::fbx::import_material(), mapping, params, blender::io::fbx::read_custom_properties(), and ReferenceExisting.
| 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.
| void blender::io::fbx::FbxImportContext::setup_hierarchy | ( | ) |
Definition at line 293 of file fbx_import.cc.
| std::string blender::io::fbx::FbxImportContext::base_dir |
Definition at line 47 of file fbx_import.cc.
Referenced by FbxImportContext(), and import_materials().
| Main* blender::io::fbx::FbxImportContext::bmain |
Definition at line 44 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 45 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 48 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 46 of file fbx_import.cc.
Referenced by FbxImportContext(), import_animation(), import_armatures(), import_cameras(), import_empties(), import_lights(), import_materials(), and import_meshes().