Blender
V3.3
|
Public Attributes | |
RegionView3D * | rv3d |
View3D * | v3d |
ARegion * | region |
struct 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 | 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 |
void * | draw_handle_pixel |
float | dvec_prev [3] |
struct View3DCameraControl * | v3d_camera_control |
Definition at line 142 of file view3d_navigate_fly.c.
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().
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().
int FlyInfo::center_mval[2] |
Center mouse values.
Definition at line 170 of file view3d_navigate_fly.c.
Referenced by flyApply(), and initFlyInfo().
struct Depsgraph* FlyInfo::depsgraph |
Definition at line 147 of file view3d_navigate_fly.c.
Referenced by drawFlyPixel(), and initFlyInfo().
void* FlyInfo::draw_handle_pixel |
Definition at line 199 of file view3d_navigate_fly.c.
Referenced by flyEnd(), and initFlyInfo().
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().
float FlyInfo::grid |
World scale 1.0 default.
Definition at line 191 of file view3d_navigate_fly.c.
Referenced by flyApply(), flyEvent(), and initFlyInfo().
float FlyInfo::height |
Definition at line 172 of file view3d_navigate_fly.c.
Referenced by drawFlyPixel(), flyApply(), and initFlyInfo().
int FlyInfo::mval[2] |
Latest 2D mouse values.
Definition at line 168 of file view3d_navigate_fly.c.
Referenced by flyApply(), flyEvent(), and initFlyInfo().
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().
bool FlyInfo::redraw |
Definition at line 154 of file view3d_navigate_fly.c.
Referenced by fly_modal(), flyApply(), flyEvent(), and initFlyInfo().
ARegion* FlyInfo::region |
Definition at line 146 of file view3d_navigate_fly.c.
Referenced by drawFlyPixel(), flyEnd(), and initFlyInfo().
RegionView3D* FlyInfo::rv3d |
Definition at line 144 of file view3d_navigate_fly.c.
Referenced by drawFlyPixel(), fly_modal(), flyApply(), flyEnd(), and initFlyInfo().
Scene* FlyInfo::scene |
Definition at line 148 of file view3d_navigate_fly.c.
Referenced by drawFlyPixel(), and initFlyInfo().
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().
short FlyInfo::state |
Definition at line 153 of file view3d_navigate_fly.c.
Referenced by fly_cancel(), flyEnd(), flyEvent(), and initFlyInfo().
double FlyInfo::time_lastdraw |
Time between draws.
Definition at line 197 of file view3d_navigate_fly.c.
Referenced by flyApply(), flyEvent(), and initFlyInfo().
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().
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().
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().
bool FlyInfo::use_precision |
Definition at line 155 of file view3d_navigate_fly.c.
Referenced by flyApply(), flyEvent(), and initFlyInfo().
View3D* FlyInfo::v3d |
Definition at line 145 of file view3d_navigate_fly.c.
Referenced by drawFlyPixel(), fly_modal(), and initFlyInfo().
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().
float FlyInfo::width |
Camera viewport dimensions.
Definition at line 172 of file view3d_navigate_fly.c.
Referenced by drawFlyPixel(), flyApply(), and initFlyInfo().
eFlyPanState FlyInfo::xlock |
Definition at line 187 of file view3d_navigate_fly.c.
Referenced by flyApply(), flyEvent(), and initFlyInfo().
float FlyInfo::xlock_momentum |
Nicer dynamics.
Definition at line 189 of file view3d_navigate_fly.c.
Referenced by flyApply(), flyEvent(), and initFlyInfo().
eFlyPanState FlyInfo::zlock |
Definition at line 187 of file view3d_navigate_fly.c.
Referenced by flyApply(), flyEvent(), and initFlyInfo().
float FlyInfo::zlock_momentum |
Definition at line 189 of file view3d_navigate_fly.c.
Referenced by flyApply(), flyEvent(), and initFlyInfo().