Blender  V2.93
Public Attributes | List of all members
LibraryLink_Params Struct Reference

#include <BLO_readfile.h>

Public Attributes

struct Mainbmain
 
int flag
 
int id_tag_extra
 
struct {
   struct Scene *   scene
 
   struct ViewLayer *   view_layer
 
   const struct View3D *   v3d
 
context
 

Detailed Description

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.

Member Data Documentation

◆ bmain

struct Main* LibraryLink_Params::bmain

◆ 

struct { ... } LibraryLink_Params::context

Context for instancing objects (optional, no instantiation will be performed when NULL).

◆ flag

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().

◆ id_tag_extra

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().

◆ scene

struct Scene* LibraryLink_Params::scene

The scene in which to instantiate objects/collections.

Definition at line 191 of file BLO_readfile.h.

◆ v3d

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().

◆ view_layer

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().


The documentation for this struct was generated from the following file: