Blender V4.3
View3DCameraControl Struct Reference

Public Attributes

Scenectx_scene
 
View3Dctx_v3d
 
RegionView3Dctx_rv3d
 
float view_mat_prev [4][4]
 
bool use_parent_root
 
Objectroot_parent
 
float dist_backup
 
float ofs_backup [3]
 
float rot_backup [4]
 
char persp_backup
 
bool is_ortho_cam
 
void * obtfm
 

Detailed Description

Definition at line 45 of file view3d_camera_control.cc.

Member Data Documentation

◆ ctx_rv3d

◆ ctx_scene

Scene* View3DCameraControl::ctx_scene

◆ ctx_v3d

◆ dist_backup

float View3DCameraControl::dist_backup

Backup the views distance since we use a zero dist for fly mode.

Definition at line 73 of file view3d_camera_control.cc.

Referenced by ED_view3d_cameracontrol_acquire(), and ED_view3d_cameracontrol_release().

◆ is_ortho_cam

bool View3DCameraControl::is_ortho_cam

True when flying an orthographic camera in perspective view, which was originally in orthographic view. This could be detected available data but better be explicit.

Definition at line 90 of file view3d_camera_control.cc.

Referenced by ED_view3d_cameracontrol_acquire(), and ED_view3d_cameracontrol_release().

◆ obtfm

void* View3DCameraControl::obtfm

Backup the objects transform.

Definition at line 93 of file view3d_camera_control.cc.

Referenced by ED_view3d_cameracontrol_acquire(), and ED_view3d_cameracontrol_release().

◆ ofs_backup

float View3DCameraControl::ofs_backup[3]

Backup the views offset in case the user cancels flying in non camera mode.

Definition at line 75 of file view3d_camera_control.cc.

Referenced by ED_view3d_cameracontrol_acquire(), and ED_view3d_cameracontrol_release().

◆ persp_backup

char View3DCameraControl::persp_backup

Remember if we're orthographic or not, only used for restoring the view if it was a orthographic view.

Definition at line 83 of file view3d_camera_control.cc.

Referenced by ED_view3d_cameracontrol_acquire(), and ED_view3d_cameracontrol_release().

◆ root_parent

Object* View3DCameraControl::root_parent

◆ rot_backup

float View3DCameraControl::rot_backup[4]

Backup the views quaternion in case the user cancels flying in non camera mode.

Definition at line 78 of file view3d_camera_control.cc.

Referenced by ED_view3d_cameracontrol_acquire(), and ED_view3d_cameracontrol_release().

◆ use_parent_root

bool View3DCameraControl::use_parent_root

Definition at line 62 of file view3d_camera_control.cc.

Referenced by ED_view3d_cameracontrol_acquire().

◆ view_mat_prev

float View3DCameraControl::view_mat_prev[4][4]

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