diff options
author | Robert Brock <robert.brock@kdab.com> | 2016-01-28 11:22:58 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-03-24 18:43:10 +0000 |
commit | a1470b6b380a4612264956b1e09484c6752da20e (patch) | |
tree | 88430325ddf1579e50593b75700c200a86030876 /src/input/input.pro | |
parent | 0832616efeb705d31e26ba88ea47210210f046d9 (diff) |
OrbitController Qml and Cpp for Qt3D Camera
Adding an Orbit control that will allow a user to orbit / pan in a 3D
QML scene.
--- QML
- LMB translate
- RMB orbit
- RMB + LMB dolly
- Arrow keys translate
- Shift + Up/Down keys dolly
- Alt + Arrow keys orbit
--- CPP
- LMB translate
- RMB orbit
- RMB + LMB dolly
- Arrow keys translate
- Shift + Up/Down keys dolly
- Alt + Arrow keys orbit
Both examples have their speed inputs clamped to -1 and 1
Zoom in can now be limited
Change-Id: If24c45c7350767a1682dccfd2e4d49d95433fd5d
Task-number: QTBUG-50660
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input/input.pro')
-rw-r--r-- | src/input/input.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input.pro b/src/input/input.pro index aa559c664..1c1ad8611 100644 --- a/src/input/input.pro +++ b/src/input/input.pro @@ -1,6 +1,6 @@ TARGET = Qt3DInput -QT += core core-private 3dcore 3dcore-private 3drender +QT += core core-private 3dcore 3dcore-private 3drender 3dlogic DEFINES += QT3DINPUT_LIBRARY |