Blender V5.3
blender::FlyInfo Struct Reference

Public Attributes

RegionView3D * rv3d
View3D * v3d
ARegion * region
Depsgraph * depsgraph
Scene * scene
wmTimer * timer
short state
bool redraw
bool use_precision
bool use_freelook
bool anim_playing
int mval [2]
int center_mval [2]
float viewport_size [2]
float speed
short axis
bool pan_view
eFlyPanState xlock
eFlyPanState zlock
float xlock_momentum
float zlock_momentum
float grid
double time_lastwheel
double time_lastdraw
void * draw_handle_pixel
float dvec_prev [3]
View3DCameraControl * v3d_camera_control

Detailed Description

Definition at line 155 of file view3d_navigate_fly.cc.

Member Data Documentation

◆ anim_playing

bool blender::FlyInfo::anim_playing

Needed for auto-keyframing, when animation isn't playing, only keyframe on confirmation.

Currently we can't cancel this operator usefully while recording on animation playback (this would need to un-key all previous frames).

Definition at line 178 of file view3d_navigate_fly.cc.

Referenced by blender::flyMoveCamera(), and blender::initFlyInfo().

◆ axis

short blender::FlyInfo::axis

Axis index to move along by default Z to move along the view.

Definition at line 196 of file view3d_navigate_fly.cc.

Referenced by blender::flyApply(), blender::flyEvent(), and blender::initFlyInfo().

◆ center_mval

int blender::FlyInfo::center_mval[2]

Center mouse values.

Definition at line 183 of file view3d_navigate_fly.cc.

Referenced by blender::flyApply(), and blender::initFlyInfo().

◆ depsgraph

Depsgraph* blender::FlyInfo::depsgraph

Definition at line 160 of file view3d_navigate_fly.cc.

Referenced by blender::drawFlyPixel(), and blender::initFlyInfo().

◆ draw_handle_pixel

void* blender::FlyInfo::draw_handle_pixel

Definition at line 212 of file view3d_navigate_fly.cc.

Referenced by blender::flyEnd(), and blender::initFlyInfo().

◆ dvec_prev

float blender::FlyInfo::dvec_prev[3]

Keep the previous value to smooth transitions (use lag).

Definition at line 215 of file view3d_navigate_fly.cc.

Referenced by blender::flyApply(), and blender::initFlyInfo().

◆ grid

float blender::FlyInfo::grid

World scale 1.0 default.

Definition at line 204 of file view3d_navigate_fly.cc.

Referenced by blender::flyApply(), blender::flyEvent(), and blender::initFlyInfo().

◆ mval

int blender::FlyInfo::mval[2]

Latest 2D mouse values.

Definition at line 181 of file view3d_navigate_fly.cc.

Referenced by blender::flyApply(), blender::flyEvent(), and blender::initFlyInfo().

◆ pan_view

bool blender::FlyInfo::pan_view

When true, pan the view instead of rotating.

Definition at line 198 of file view3d_navigate_fly.cc.

Referenced by blender::flyApply(), blender::flyEvent(), and blender::initFlyInfo().

◆ redraw

bool blender::FlyInfo::redraw

◆ region

ARegion* blender::FlyInfo::region

◆ rv3d

◆ scene

Scene* blender::FlyInfo::scene

Definition at line 161 of file view3d_navigate_fly.cc.

Referenced by blender::drawFlyPixel(), and blender::initFlyInfo().

◆ speed

float blender::FlyInfo::speed

The speed the view is moving per redraw.

Definition at line 194 of file view3d_navigate_fly.cc.

Referenced by blender::fly_draw_status(), blender::flyApply(), blender::flyEvent(), and blender::initFlyInfo().

◆ state

short blender::FlyInfo::state

◆ time_lastdraw

double blender::FlyInfo::time_lastdraw

Time between draws.

Definition at line 210 of file view3d_navigate_fly.cc.

Referenced by blender::flyApply(), blender::flyEvent(), and blender::initFlyInfo().

◆ time_lastwheel

double blender::FlyInfo::time_lastwheel

Used to accelerate when using the mouse-wheel a lot.

Definition at line 208 of file view3d_navigate_fly.cc.

Referenced by blender::flyEvent(), and blender::initFlyInfo().

◆ timer

wmTimer* blender::FlyInfo::timer

Needed for updating that isn't triggered by input.

Definition at line 164 of file view3d_navigate_fly.cc.

Referenced by blender::fly_modal(), blender::flyEnd(), blender::flyEvent(), and blender::initFlyInfo().

◆ use_freelook

bool blender::FlyInfo::use_freelook

If the user presses shift they can look about without moving the direction there looking.

Definition at line 170 of file view3d_navigate_fly.cc.

Referenced by blender::fly_draw_status(), blender::flyApply(), blender::flyEvent(), and blender::initFlyInfo().

◆ use_precision

bool blender::FlyInfo::use_precision

◆ v3d

View3D* blender::FlyInfo::v3d

◆ v3d_camera_control

◆ viewport_size

float blender::FlyInfo::viewport_size[2]

Camera viewport size.

Definition at line 185 of file view3d_navigate_fly.cc.

Referenced by blender::drawFlyPixel(), blender::flyApply(), and blender::initFlyInfo().

◆ xlock

eFlyPanState blender::FlyInfo::xlock

◆ xlock_momentum

float blender::FlyInfo::xlock_momentum

Nicer dynamics.

Definition at line 202 of file view3d_navigate_fly.cc.

Referenced by blender::flyApply(), blender::flyEvent(), and blender::initFlyInfo().

◆ zlock

eFlyPanState blender::FlyInfo::zlock

◆ zlock_momentum

float blender::FlyInfo::zlock_momentum

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