|
Blender
V2.93
|
#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 181 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 183 of file BLO_readfile.h.
Referenced by BKE_copybuffer_paste(), bpy_lib_exit(), lib_relocate_do(), lib_relocate_do_remap(), WM_file_append_datablock(), wm_lib_relocate_exec_do(), wm_link_append_exec(), and wm_link_do().
| struct { ... } LibraryLink_Params::context |
Context for instancing objects (optional, no instantiation will be performed when NULL).
| int LibraryLink_Params::flag |
Options for linking, used for instantiating.
Definition at line 185 of file BLO_readfile.h.
Referenced by BKE_copybuffer_paste(), BKE_copybuffer_read(), wm_lib_relocate_exec_do(), wm_link_append_exec(), and wm_link_do().
| int LibraryLink_Params::id_tag_extra |
Additional tag for ID.tag.
Definition at line 187 of file BLO_readfile.h.
Referenced by BKE_copybuffer_paste(), BKE_copybuffer_read(), bpy_lib_exit(), and wm_link_do().
| struct Scene* LibraryLink_Params::scene |
The scene in which to instantiate objects/collections.
Definition at line 191 of file BLO_readfile.h.
| const struct View3D* LibraryLink_Params::v3d |
The active 3D viewport (only used to define local-view).
Definition at line 195 of file BLO_readfile.h.
Referenced by BKE_copybuffer_paste(), WM_file_append_datablock(), and wm_link_do().
| struct ViewLayer* LibraryLink_Params::view_layer |
The scene layer in which to instantiate objects/collections.
Definition at line 193 of file BLO_readfile.h.
Referenced by BKE_copybuffer_paste(), WM_file_append_datablock(), wm_link_append_exec(), and wm_link_do().