summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/controls/main.qml
Commit message (Collapse)AuthorAgeFilesLines
* Add support to move the camera so that the entire model is visibleMike Krus2017-05-231-1/+8
| | | | | | | | | | | | | | Adds QCamera::viewAll(), QCamera::viewEntity() and QCamera::viewSphere() to move and rotate the camera so that the view center is the center of the sphere and the sphere fits inside the viewport Only works in perspective projection. Introduces a job to compute the bounding sphere of the scene excluding the camera. Change-Id: Id9d67787ea91c354009d5358d5db63a1c9480c70 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Unify license header usage.Antti Kokko2016-01-261-19/+33
| | | | | | | | Updated license headers to use new BSD header instead of LGPL3 one (in those files which will be under BSD) Change-Id: I300c5840db3fd4708d5d85e84f7c6729cba326e5 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Camera moved - controlsRobert Brock2016-01-121-9/+9
| | | | | | | | | | From : -12 / -4 to 4 / 12. Obj file updated and rotated 90deg on the X axis. Rotation sliders for x, y and z corrected to all start on 0. Change-Id: I43850a421029d1aef8f2f65526ce507ab22fef2b Task-number: QTBUG-49800 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Improve Controls examplePaul Lemire2015-07-121-12/+9
| | | | | Change-Id: I5e55597a165cac4e55782c92aae07b3e6848d061 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Controls exampleMika Salmela2015-05-081-0/+210
An example to demonstrate how to use Quick controls for model properties. Change-Id: Ia182716fcd5f11ad78b385507f5da783a232d90a Reviewed-by: Paul Lemire <paul.lemire@kdab.com>