MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ ViewportPresetMode

enum class MayaFlux::ViewportPresetMode : uint8_t
strong

Selects which navigation controller bind_viewport_preset installs.

Each mode registers a distinct set of event handlers and may interpret ViewportPresetConfig fields differently. Modes not yet implemented emit a runtime error and return without binding.

Enumerator
Fly 

First-person fly: WASD/QE translate, RMB drag yaw/pitch, scroll dolly, KP ortho snaps.

Orbit 

Tumble around a focal point (not yet implemented)

PanZoom2D 

Orthographic 2D pan and zoom (not yet implemented)

Screenspace 

Perspective pan in camera's local right/up plane, scroll dolly, no rotation.

Definition at line 29 of file ViewportPreset.hpp.

29 : uint8_t {
30 Fly, ///< First-person fly: WASD/QE translate, RMB drag yaw/pitch, scroll dolly, KP ortho snaps
31 Orbit, ///< Tumble around a focal point (not yet implemented)
32 PanZoom2D, ///< Orthographic 2D pan and zoom (not yet implemented)
33 Screenspace, ///< Perspective pan in camera's local right/up plane, scroll dolly, no rotation
34 // Trackball, ///< Virtual trackball (not yet implemented)
35};
@ PanZoom2D
Orthographic 2D pan and zoom (not yet implemented)
@ Orbit
Tumble around a focal point (not yet implemented)
@ Fly
First-person fly: WASD/QE translate, RMB drag yaw/pitch, scroll dolly, KP ortho snaps.
@ Screenspace
Perspective pan in camera's local right/up plane, scroll dolly, no rotation.