Blender  V3.3
Public Attributes | List of all members
View3D Struct Reference

#include <DNA_view3d_types.h>

Public Attributes

struct SpaceLinknext
 
struct SpaceLinkprev
 
ListBase regionbase
 
char spacetype
 
char link_flag
 
char _pad0 [6]
 
float viewquat[4] DNA_DEPRECATED
 
float dist DNA_DEPRECATED
 
float bundle_size
 
char bundle_drawtype
 
char drawtype DNA_DEPRECATED
 
char _pad3 [1]
 
char multiview_eye
 
int object_type_exclude_viewport
 
int object_type_exclude_select
 
short persp DNA_DEPRECATED
 
short view DNA_DEPRECATED
 
struct Objectcamera
 
struct Objectob_center
 
rctf render_border
 
struct View3Dlocalvd
 
char ob_center_bone [64]
 
unsigned short local_view_uuid
 
char _pad6 [2]
 
int layact DNA_DEPRECATED
 
unsigned short local_collections_uuid
 
short _pad7 [3]
 
short ob_center_cursor
 
short scenelock
 
short gp_flag
 
short flag
 
int flag2
 
float lens
 
float grid
 
float clip_start
 
float clip_end
 
float ofs[3] DNA_DEPRECATED
 
char _pad [1]
 
char gizmo_flag
 
char gizmo_show_object
 
char gizmo_show_armature
 
char gizmo_show_empty
 
char gizmo_show_light
 
char gizmo_show_camera
 
char gridflag
 
short gridlines
 
short gridsubdiv
 
float vertex_opacity
 
struct bGPdata *gpd DNA_DEPRECATED
 
short stereo3d_flag
 
char stereo3d_camera
 
char _pad4
 
float stereo3d_convergence_factor
 
float stereo3d_volume_alpha
 
float stereo3d_convergence_alpha
 
View3DShading shading
 
View3DOverlay overlay
 
View3D_Runtime runtime
 

Detailed Description

3D ViewPort Struct.

Definition at line 256 of file DNA_view3d_types.h.

Member Data Documentation

◆ _pad

char View3D::_pad[1]

Definition at line 312 of file DNA_view3d_types.h.

◆ _pad0

char View3D::_pad0[6]

Definition at line 262 of file DNA_view3d_types.h.

◆ _pad3

char View3D::_pad3[1]

Definition at line 275 of file DNA_view3d_types.h.

◆ _pad4

char View3D::_pad4

Definition at line 340 of file DNA_view3d_types.h.

◆ _pad6

char View3D::_pad6[2]

Definition at line 296 of file DNA_view3d_types.h.

◆ _pad7

short View3D::_pad7[3]

Definition at line 299 of file DNA_view3d_types.h.

◆ bundle_drawtype

char View3D::bundle_drawtype

Display style for bundle.

Definition at line 271 of file DNA_view3d_types.h.

Referenced by blo_do_versions_260(), and camera_view3d_reconstruction().

◆ bundle_size

float View3D::bundle_size

Size of bundles in reconstructed data.

Definition at line 269 of file DNA_view3d_types.h.

Referenced by blo_do_versions_260(), and camera_view3d_reconstruction().

◆ camera

struct Object* View3D::camera

Definition at line 286 of file DNA_view3d_types.h.

Referenced by axis_set_view(), background_image_camera_from_context(), BKE_camera_params_from_view3d(), BKE_screen_area_blend_read_lib(), BKE_screen_foreach_id_screen_area(), BKE_screen_view3d_sync(), createTransData(), createViewSpace(), depthdropper_depth_sample_pt(), depthdropper_init(), depthdropper_poll(), drawviewborder(), ED_screen_stereo3d_required(), ED_view3d_camera_data_get(), ED_view3d_camera_lock_autokey(), ED_view3d_camera_lock_check(), ED_view3d_camera_lock_init_ex(), ED_view3d_camera_lock_sync(), ED_view3d_cameracontrol_acquire(), ED_view3d_cameracontrol_release(), ED_view3d_cameracontrol_update(), ED_view3d_draw_offscreen(), ED_view3d_draw_offscreen_imbuf(), ED_view3d_draw_offscreen_imbuf_simple(), ED_view3d_persp_switch_from_camera(), ED_view3d_radius_to_dist(), ED_view3d_smooth_view_ex(), ED_view3d_smooth_view_undo_begin(), ED_view3d_smooth_view_undo_end(), ED_view3d_update_viewmat(), ED_view3d_win_to_3d(), eevee_engine_init(), GPENCIL_engine_init(), initFlyInfo(), initWalkInfo(), lib_link_window_scene_data_restore(), lib_link_workspace_layout_restore(), object_camera_add_exec(), OVERLAY_cache_populate(), OVERLAY_camera_cache_populate(), OVERLAY_grid_init(), blender::io::gpencil::GpencilIO::prepare_camera_params(), region_quadview_exec(), screen_opengl_is_multiview(), screen_opengl_render_anim_step(), screen_opengl_render_doit(), screen_opengl_views_setup(), screen_set_3dview_camera(), single_object_users(), sync_viewport_camera_smoothview(), uv_from_view_exec(), view3d_camera_border(), view3d_camera_to_view_exec(), view3d_camera_to_view_poll(), view3d_camera_to_view_selected_exec(), view3d_cameracontrol_object(), view3d_create(), view3d_from_minmax(), view3d_get_name(), view3d_id_remap_v3d(), view3d_ima_bg_is_camera_view(), view3d_localview_exit(), view3d_localview_init(), view3d_main_region_listener(), view3d_object_skip_minmax(), view3d_setobjectascamera_exec(), view3d_stereo3d_active(), view3d_stereo3d_setup(), view3d_stereo3d_setup_offscreen(), view3d_viewmatrix_set(), view_camera_exec(), wm_draw_region_stereo_set(), and workbench_dof_engine_init().

◆ clip_end

float View3D::clip_end

◆ clip_start

float View3D::clip_start

◆ DNA_DEPRECATED [1/8]

float viewquat [4] View3D::DNA_DEPRECATED

Definition at line 265 of file DNA_view3d_types.h.

◆ DNA_DEPRECATED [2/8]

float dist View3D::DNA_DEPRECATED

Definition at line 266 of file DNA_view3d_types.h.

◆ DNA_DEPRECATED [3/8]

char drawtype View3D::DNA_DEPRECATED

Definition at line 273 of file DNA_view3d_types.h.

◆ DNA_DEPRECATED [4/8]

short persp View3D::DNA_DEPRECATED

Definition at line 283 of file DNA_view3d_types.h.

◆ DNA_DEPRECATED [5/8]

short view View3D::DNA_DEPRECATED

Definition at line 284 of file DNA_view3d_types.h.

◆ DNA_DEPRECATED [6/8]

int layact View3D::DNA_DEPRECATED

Definition at line 297 of file DNA_view3d_types.h.

◆ DNA_DEPRECATED [7/8]

float ofs [3] View3D::DNA_DEPRECATED

Definition at line 310 of file DNA_view3d_types.h.

◆ DNA_DEPRECATED [8/8]

struct bGPdata* gpd View3D::DNA_DEPRECATED

Grease-Pencil Data (annotation layers).

Definition at line 335 of file DNA_view3d_types.h.

◆ flag

short View3D::flag

◆ flag2

int View3D::flag2

◆ gizmo_flag

char View3D::gizmo_flag

◆ gizmo_show_armature

char View3D::gizmo_show_armature

Definition at line 319 of file DNA_view3d_types.h.

Referenced by blo_do_versions_280().

◆ gizmo_show_camera

char View3D::gizmo_show_camera

◆ gizmo_show_empty

char View3D::gizmo_show_empty

◆ gizmo_show_light

char View3D::gizmo_show_light

◆ gizmo_show_object

char View3D::gizmo_show_object

◆ gp_flag

short View3D::gp_flag

◆ grid

float View3D::grid

◆ gridflag

char View3D::gridflag

◆ gridlines

short View3D::gridlines

Definition at line 326 of file DNA_view3d_types.h.

Referenced by blo_do_versions_pre250(), and ED_view3d_draw_offscreen_simple().

◆ gridsubdiv

short View3D::gridsubdiv

Number of subdivisions in the grid between each highlighted grid line.

Definition at line 328 of file DNA_view3d_types.h.

Referenced by BKE_screen_view3d_do_versions_250(), blo_do_versions_pre250(), ED_view3d_draw_offscreen_simple(), and ED_view3d_grid_steps().

◆ lens

float View3D::lens

◆ link_flag

char View3D::link_flag

Definition at line 261 of file DNA_view3d_types.h.

◆ local_collections_uuid

unsigned short View3D::local_collections_uuid

◆ local_view_uuid

unsigned short View3D::local_view_uuid

◆ localvd

struct View3D* View3D::localvd

◆ multiview_eye

char View3D::multiview_eye

Multiview current eye - for internal use.

Definition at line 278 of file DNA_view3d_types.h.

Referenced by camera_background_images_stereo_eye(), OVERLAY_camera_cache_populate(), view3d_stereo3d_setup(), and wm_draw_region_stereo_set().

◆ next

struct SpaceLink* View3D::next

Definition at line 257 of file DNA_view3d_types.h.

◆ ob_center

struct Object * View3D::ob_center

◆ ob_center_bone

char View3D::ob_center_bone[64]

Optional string for armature bone to define center, MAXBONENAME.

Definition at line 293 of file DNA_view3d_types.h.

Referenced by ED_armature_bone_rename(), ED_view3d_lock_clear(), view3d_id_remap_v3d_ob_centers(), view3d_viewmatrix_set(), and view_lock_to_active_exec().

◆ ob_center_cursor

short View3D::ob_center_cursor

Optional bool for 3d cursor to define center.

Definition at line 302 of file DNA_view3d_types.h.

Referenced by ED_view3d_cursor3d_update(), ED_view3d_lock_clear(), ED_view3d_offset_lock_check(), and view3d_viewmatrix_set().

◆ object_type_exclude_select

int View3D::object_type_exclude_select

◆ object_type_exclude_viewport

int View3D::object_type_exclude_viewport

◆ overlay

View3DOverlay View3D::overlay

◆ prev

struct SpaceLink * View3D::prev

Definition at line 257 of file DNA_view3d_types.h.

◆ regionbase

ListBase View3D::regionbase

◆ render_border

rctf View3D::render_border

◆ runtime

View3D_Runtime View3D::runtime

◆ scenelock

short View3D::scenelock

◆ shading

View3DShading View3D::shading

Display settings.

Definition at line 346 of file DNA_view3d_types.h.

Referenced by basic_cache_populate(), blend_file_thumb_from_camera(), blo_do_versions_280(), blo_update_defaults_screen(), BLO_update_defaults_workspace(), camera_view3d_reconstruction(), check_rendered_viewport_visible(), curve_draw_invoke(), direct_link_area(), blender::draw::color_management::drw_color_management_type_for_v3d(), DRW_draw_depth_loop(), DRW_draw_render_loop(), DRW_draw_render_loop_ex(), DRW_draw_render_loop_offscreen(), DRW_draw_select_loop(), DRW_draw_view(), drw_engines_enable(), ED_render_view3d_update(), ED_view3d_background_color_get(), ED_view3d_calc_render_border(), ED_view3d_datamask(), ED_view3d_draw_offscreen(), ED_view3d_draw_offscreen_imbuf_simple(), ED_view3d_draw_offscreen_simple(), ED_view3d_has_workbench_in_texture_color(), ED_view3d_shade_update(), ED_view3d_smooth_view_ex(), eevee_hdri_preview_overlay_enabled(), EEVEE_lookdev_cache_init(), EEVEE_renderpasses_init(), GPENCIL_cache_init(), GPENCIL_engine_init(), gpencil_material_pool_create(), blender::eevee::Film::init(), OVERLAY_armature_cache_init(), OVERLAY_background_cache_init(), OVERLAY_edit_mesh_cache_init(), OVERLAY_engine_init(), OVERLAY_fade_cache_init(), OVERLAY_paint_cache_init(), OVERLAY_wireframe_cache_init(), paint_object_is_rendered_transparent(), pygpu_offscreen_draw_view3d(), screen_opengl_render_doit(), sculpt_color_filter_invoke(), sculpt_mask_by_color_invoke(), sculpt_stroke_test_start(), snap_use_backface_culling(), space_view3d_listener(), texture_paint_image_from_view_exec(), toggle_matcap_flip(), toggle_shading_exec(), toggle_xray_exec(), blender::eevee::Instance::use_scene_lights(), blender::eevee::Instance::use_studio_light(), validate_object_select_id(), view3d_duplicate(), view3d_free(), view3d_opengl_select_ex(), view3d_ruler_add_invoke(), wm_context_member_from_ptr(), workbench_private_data_init(), and write_area().

◆ spacetype

char View3D::spacetype

◆ stereo3d_camera

char View3D::stereo3d_camera

◆ stereo3d_convergence_alpha

float View3D::stereo3d_convergence_alpha

Definition at line 343 of file DNA_view3d_types.h.

Referenced by blo_do_versions_270(), and camera_stereoscopy_extra().

◆ stereo3d_convergence_factor

float View3D::stereo3d_convergence_factor

Definition at line 341 of file DNA_view3d_types.h.

◆ stereo3d_flag

short View3D::stereo3d_flag

Stereoscopy settings.

Definition at line 338 of file DNA_view3d_types.h.

Referenced by blo_do_versions_270(), camera_stereoscopy_extra(), and OVERLAY_camera_cache_populate().

◆ stereo3d_volume_alpha

float View3D::stereo3d_volume_alpha

Definition at line 342 of file DNA_view3d_types.h.

Referenced by blo_do_versions_270(), and camera_stereoscopy_extra().

◆ vertex_opacity

float View3D::vertex_opacity

Actually only used to define the opacity of the grease pencil vertex in edit mode.

Definition at line 331 of file DNA_view3d_types.h.

Referenced by blo_do_versions_280(), blo_update_defaults_screen(), gpencil_hideselect_toggle_exec(), and OVERLAY_edit_gpencil_cache_init().


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