Expand description
For zooming and panning we use the modifiers in the default egui::InputOptions.
Structs§
Constants§
- DRAG_
PAN2D_ BUTTON - Which mouse button to drag for panning a 2D view.
- DRAG_
PAN3D_ BUTTON - Which mouse button to drag for panning a 3D view.
- MOVE_
TIME_ CURSOR_ BUTTON - Clicking this button moves the timeline to where the cursor is.
- ROLL_
MOUSE - Which mouse button rolls the camera.
- ROLL_
MOUSE_ ALT - Which mouse button rolls the camera if the roll modifier is pressed.
- ROLL_
MOUSE_ MODIFIER - See
ROLL_MOUSE_ALT. - ROTAT
E3D_ BUTTON - Which mouse button to drag for rotating a 3D view.
- SELECTION_
RECT_ ZOOM_ BUTTON - Rectangles drawn with this mouse button zoom in 2D views.
- SPEED_
UP_ 3D_ MODIFIER - Which modifier speeds up the 3D camera movement.
- TOGGLE_
MAXIMIZE_ VIEW - Toggle the currently selected view to be maximized or not.
- TRACKED_
OBJECT_ RESTORE_ KEY - Key to restore the camera.