MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / setCameraNavigationMode

Method setCameraNavigationMode

src/visualizer/input/input_controller.cpp:487–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485 }
486
487 void InputController::setCameraNavigationMode(const CameraNavigationMode mode) {
488 if (camera_navigation_mode_ == mode)
489 return;
490
491 clearViewportDragState();
492 camera_navigation_mode_ = mode;
493 // The pivot is left untouched: orbit modes work with any pivot and FPV
494 // re-seeds it on every look drag, so switching modes must not discard a
495 // user-set pivot.
496 }
497
498 void InputController::onWindowFocusLost() {
499 if (current_cursor_ != CursorType::Default) {

Callers 3

NB_MODULEFunction · 0.80
dispatchToolbarActionMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64