|
Blender V5.0
|
#include <BLO_readfile.hh>
Public Attributes | |
| Main * | bmain |
| int | flag |
| int | id_tag_extra |
| struct { | |
| Scene * scene | |
| ViewLayer * view_layer | |
| const View3D * v3d | |
| } | context |
Struct for passing arguments to BLO_library_link_begin, BLO_library_link_named_part & BLO_library_link_end. Wrap these in parameters since it's important both functions receive matching values.
Definition at line 420 of file BLO_readfile.hh.
| Main* LibraryLink_Params::bmain |
The current main database, e.g. G_MAIN or CTX_data_main(C).
Definition at line 422 of file BLO_readfile.hh.
Referenced by blender::bke::asset_link_id(), BKE_blendfile_append(), BKE_blendfile_id_relocate(), BKE_blendfile_library_relocate(), BKE_blendfile_link(), BKE_blendfile_link_append_context_finalize(), BKE_blendfile_link_append_context_init_done(), BKE_blendfile_link_append_instantiate_loose(), BKE_blendfile_link_pack(), BKE_blendfile_override(), blendfile_append_define_actions(), blendfile_library_relocate_id_remap(), blendfile_relocate_postprocess_cleanup(), blendfile_relocate_postprocess_liboverrides(), loose_data_instantiate_collection_process(), loose_data_instantiate_ensure_active_collection(), loose_data_instantiate_obdata_process(), loose_data_instantiate_object_process(), and loose_data_instantiate_object_rigidbody_postprocess().
| struct { ... } LibraryLink_Params::context |
Context for instancing objects (optional, no instantiation will be performed when NULL).
Referenced by BKE_blendfile_link_append_instantiate_loose(), blendfile_relocate_postprocess_cleanup(), blendfile_relocate_postprocess_liboverrides(), loose_data_instantiate(), loose_data_instantiate_collection_process(), loose_data_instantiate_ensure_active_collection(), loose_data_instantiate_obdata_process(), and loose_data_instantiate_object_process().
| int LibraryLink_Params::flag |
Options for linking, used for instantiating.
Definition at line 424 of file BLO_readfile.hh.
Referenced by BKE_blendfile_append(), BKE_blendfile_id_relocate(), BKE_blendfile_link(), BKE_blendfile_link_append_context_flag_set(), BKE_blendfile_link_append_context_item_idtypes_from_library_add(), BKE_blendfile_link_append_instantiate_loose(), BKE_blendfile_override(), blendfile_append_define_actions(), loose_data_instantiate(), loose_data_instantiate_collection_process(), loose_data_instantiate_ensure_active_collection(), loose_data_instantiate_obdata_process(), loose_data_instantiate_object_process(), and loose_data_instantiate_process_check().
| int LibraryLink_Params::id_tag_extra |
Additional tag for ID.tag.
Definition at line 426 of file BLO_readfile.hh.
| Scene* LibraryLink_Params::scene |
The scene in which to instantiate objects/collections.
Definition at line 430 of file BLO_readfile.hh.
Referenced by BKE_blendfile_link_append_instantiate_loose(), blendfile_relocate_postprocess_cleanup(), blendfile_relocate_postprocess_liboverrides(), loose_data_instantiate(), loose_data_instantiate_collection_process(), loose_data_instantiate_ensure_active_collection(), loose_data_instantiate_obdata_process(), and loose_data_instantiate_object_process().
| const View3D* LibraryLink_Params::v3d |
The active 3D viewport (only used to define local-view).
Definition at line 434 of file BLO_readfile.hh.
Referenced by loose_data_instantiate_collection_process(), loose_data_instantiate_obdata_process(), and loose_data_instantiate_object_process().
| ViewLayer* LibraryLink_Params::view_layer |
The scene layer in which to instantiate objects/collections.
Definition at line 432 of file BLO_readfile.hh.
Referenced by blendfile_relocate_postprocess_cleanup(), blendfile_relocate_postprocess_liboverrides(), loose_data_instantiate_collection_process(), loose_data_instantiate_ensure_active_collection(), loose_data_instantiate_obdata_process(), and loose_data_instantiate_object_process().