Blender
V3.3
|
#include <BLO_readfile.h>
Public Attributes | |
struct Main * | bmain |
int | flag |
int | id_tag_extra |
struct { | |
struct Scene * scene | |
struct ViewLayer * view_layer | |
const struct 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 355 of file BLO_readfile.h.
struct Main* LibraryLink_Params::bmain |
The current main database, e.g. G_MAIN or CTX_data_main(C)
.
Definition at line 357 of file BLO_readfile.h.
Referenced by BKE_blendfile_append(), BKE_blendfile_library_relocate(), BKE_blendfile_link(), BKE_copybuffer_paste(), bpy_lib_exit(), 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_library_relocate(), BKE_blendfile_link(), 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 359 of file BLO_readfile.h.
Referenced by BKE_blendfile_append(), BKE_blendfile_link(), BKE_blendfile_link_append_context_flag_set(), BKE_blendfile_link_append_context_item_idtypes_from_library_add(), BKE_copybuffer_paste(), BKE_copybuffer_read(), 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 361 of file BLO_readfile.h.
Referenced by BKE_copybuffer_paste(), BKE_copybuffer_read(), and bpy_lib_exit().
struct Scene* LibraryLink_Params::scene |
The scene in which to instantiate objects/collections.
Definition at line 365 of file BLO_readfile.h.
Referenced by BKE_blendfile_library_relocate(), BKE_blendfile_link(), loose_data_instantiate(), loose_data_instantiate_collection_process(), loose_data_instantiate_ensure_active_collection(), and loose_data_instantiate_obdata_process().
const struct View3D* LibraryLink_Params::v3d |
The active 3D viewport (only used to define local-view).
Definition at line 369 of file BLO_readfile.h.
Referenced by BKE_copybuffer_paste(), loose_data_instantiate_collection_process(), loose_data_instantiate_obdata_process(), and loose_data_instantiate_object_process().
struct ViewLayer* LibraryLink_Params::view_layer |
The scene layer in which to instantiate objects/collections.
Definition at line 367 of file BLO_readfile.h.
Referenced by BKE_blendfile_library_relocate(), BKE_copybuffer_paste(), loose_data_instantiate_collection_process(), loose_data_instantiate_ensure_active_collection(), loose_data_instantiate_obdata_process(), and loose_data_instantiate_object_process().