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

Public Attributes

RegionView3Drv3d
 
View3Dv3d
 
ARegionregion
 
struct Depsgraphdepsgraph
 
Scenescene
 
wmTimertimer
 
short state
 
bool redraw
 
bool use_precision
 
bool use_freelook
 
bool anim_playing
 
int mval [2]
 
int center_mval [2]
 
float width
 
float height
 
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
 
voiddraw_handle_pixel
 
float dvec_prev [3]
 
struct View3DCameraControlv3d_camera_control
 

Detailed Description

Definition at line 142 of file view3d_navigate_fly.c.

Member Data Documentation

◆ anim_playing

bool 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 165 of file view3d_navigate_fly.c.

Referenced by flyMoveCamera(), and initFlyInfo().

◆ axis

short FlyInfo::axis

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

Definition at line 183 of file view3d_navigate_fly.c.

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

◆ center_mval

int FlyInfo::center_mval[2]

Center mouse values.

Definition at line 170 of file view3d_navigate_fly.c.

Referenced by flyApply(), and initFlyInfo().

◆ depsgraph

struct Depsgraph* FlyInfo::depsgraph

Definition at line 147 of file view3d_navigate_fly.c.

Referenced by drawFlyPixel(), and initFlyInfo().

◆ draw_handle_pixel

void* FlyInfo::draw_handle_pixel

Definition at line 199 of file view3d_navigate_fly.c.

Referenced by flyEnd(), and initFlyInfo().

◆ dvec_prev

float FlyInfo::dvec_prev[3]

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

Definition at line 203 of file view3d_navigate_fly.c.

Referenced by flyApply(), and initFlyInfo().

◆ grid

float FlyInfo::grid

World scale 1.0 default.

Definition at line 191 of file view3d_navigate_fly.c.

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

◆ height

float FlyInfo::height

Definition at line 172 of file view3d_navigate_fly.c.

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

◆ mval

int FlyInfo::mval[2]

Latest 2D mouse values.

Definition at line 168 of file view3d_navigate_fly.c.

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

◆ pan_view

bool FlyInfo::pan_view

When true, pan the view instead of rotating.

Definition at line 185 of file view3d_navigate_fly.c.

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

◆ redraw

bool FlyInfo::redraw

Definition at line 154 of file view3d_navigate_fly.c.

Referenced by fly_modal(), flyApply(), flyEvent(), and initFlyInfo().

◆ region

ARegion* FlyInfo::region

Definition at line 146 of file view3d_navigate_fly.c.

Referenced by drawFlyPixel(), flyEnd(), and initFlyInfo().

◆ rv3d

RegionView3D* FlyInfo::rv3d

Definition at line 144 of file view3d_navigate_fly.c.

Referenced by drawFlyPixel(), fly_modal(), flyApply(), flyEnd(), and initFlyInfo().

◆ scene

Scene* FlyInfo::scene

Definition at line 148 of file view3d_navigate_fly.c.

Referenced by drawFlyPixel(), and initFlyInfo().

◆ speed

float FlyInfo::speed

The speed the view is moving per redraw.

Definition at line 181 of file view3d_navigate_fly.c.

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

◆ state

short FlyInfo::state

Definition at line 153 of file view3d_navigate_fly.c.

Referenced by fly_cancel(), flyEnd(), flyEvent(), and initFlyInfo().

◆ time_lastdraw

double FlyInfo::time_lastdraw

Time between draws.

Definition at line 197 of file view3d_navigate_fly.c.

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

◆ time_lastwheel

double FlyInfo::time_lastwheel

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

Definition at line 195 of file view3d_navigate_fly.c.

Referenced by flyEvent(), and initFlyInfo().

◆ timer

wmTimer* FlyInfo::timer

Needed for updating that isn't triggered by input.

Definition at line 151 of file view3d_navigate_fly.c.

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

◆ use_freelook

bool FlyInfo::use_freelook

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

Definition at line 157 of file view3d_navigate_fly.c.

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

◆ use_precision

bool FlyInfo::use_precision

Definition at line 155 of file view3d_navigate_fly.c.

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

◆ v3d

View3D* FlyInfo::v3d

Definition at line 145 of file view3d_navigate_fly.c.

Referenced by drawFlyPixel(), fly_modal(), and initFlyInfo().

◆ v3d_camera_control

struct View3DCameraControl* FlyInfo::v3d_camera_control

Definition at line 205 of file view3d_navigate_fly.c.

Referenced by drawFlyPixel(), fly_modal(), flyEnd(), flyMoveCamera(), and initFlyInfo().

◆ width

float FlyInfo::width

Camera viewport dimensions.

Definition at line 172 of file view3d_navigate_fly.c.

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

◆ xlock

eFlyPanState FlyInfo::xlock

Definition at line 187 of file view3d_navigate_fly.c.

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

◆ xlock_momentum

float FlyInfo::xlock_momentum

Nicer dynamics.

Definition at line 189 of file view3d_navigate_fly.c.

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

◆ zlock

eFlyPanState FlyInfo::zlock

Definition at line 187 of file view3d_navigate_fly.c.

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

◆ zlock_momentum

float FlyInfo::zlock_momentum

Definition at line 189 of file view3d_navigate_fly.c.

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


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