Blender V5.0
WorkSpace Struct Reference

#include <DNA_workspace_types.h>

Public Attributes

ID id
ListBase layouts
ListBase hook_layout_relations
ListBase owner_ids
ListBase tools
struct Scenepin_scene
struct Scenesequencer_scene
char _pad [4]
int object_mode
int flags
int order
WorkSpaceRuntimeHandleruntime
AssetLibraryReference asset_library_ref
ViewerPath viewer_path

Detailed Description

Definition at line 143 of file DNA_workspace_types.h.

Member Data Documentation

◆ _pad

char WorkSpace::_pad[4]

Definition at line 172 of file DNA_workspace_types.h.

◆ asset_library_ref

AssetLibraryReference WorkSpace::asset_library_ref

Workspace-wide active asset library, for asset UIs to use (e.g. asset view UI template). The Asset Browser has its own and doesn't use this.

Definition at line 187 of file DNA_workspace_types.h.

Referenced by screen_ctx_asset_library(), and workspace_init_data().

◆ flags

◆ hook_layout_relations

◆ id

◆ layouts

◆ object_mode

◆ order

int WorkSpace::order

Number for workspace tab reordering in the UI.

Definition at line 180 of file DNA_workspace_types.h.

Referenced by ED_workspace_duplicate().

◆ owner_ids

◆ pin_scene

struct Scene* WorkSpace::pin_scene

Optional, scene to switch to when enabling this workspace (NULL to disable). Cleared on link/append.

Definition at line 167 of file DNA_workspace_types.h.

Referenced by ED_workspace_duplicate(), workspace_blend_read_data(), workspace_exit(), workspace_foreach_id(), and workspace_scene_pinning_update().

◆ runtime

◆ sequencer_scene

◆ tools

◆ viewer_path


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