Blender V5.3
blender::ViewOpsData::[struct].init Struct Reference

Public Attributes

float ofs [3]
float ofs_lock [2]
float camdx
float camdy
float camzoom
float camroll
bool cam_flip_x
float dist
float quat [4]
eRegionView3D_Persp persp
eRegionView3D_View view
eRegionView3D_ViewAxisRoll view_axis_roll
eRegionView3D_Persp persp_with_auto_persp_applied
int2 event_xy
int2 event_xy_offset
int event_type
float zfac
float trackvec [3]
float mousevec [3]
Dial * dial

Detailed Description

Viewport state on initialization, don't change afterwards.

Definition at line 128 of file view3d_navigate.hh.

Member Data Documentation

◆ cam_flip_x

◆ camdx

◆ camdy

◆ camroll

◆ camzoom

◆ dial

Used for roll

◆ dist

◆ event_type

#wmEvent.type that triggered the operator.

◆ event_xy

The ones below are unrelated to the state of the 3D view. #wmEvent.xy.

◆ event_xy_offset

◆ mousevec

◆ ofs

These variables reflect the same in RegionView3D.

◆ ofs_lock

◆ persp

eRegionView3D_Persp blender::ViewOpsData::[struct].init persp

◆ persp_with_auto_persp_applied

eRegionView3D_Persp blender::ViewOpsData::[struct].init persp_with_auto_persp_applied

#RegionView3D.persp set after auto-perspective is applied. If we want the value before running the operator, add a separate member.

◆ quat

◆ trackvec

Trackball rotation only.

◆ view

eRegionView3D_View blender::ViewOpsData::[struct].init view

◆ view_axis_roll

eRegionView3D_ViewAxisRoll blender::ViewOpsData::[struct].init view_axis_roll

◆ zfac

Initial distance to 'ofs'.


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