diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2015-01-20 16:12:25 +0100 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@kdab.com> | 2015-01-23 07:51:47 +0100 |
commit | 05e704725bfe1f094d45677738173feec855e915 (patch) | |
tree | 16e9a1e35bf736f1021f956f49f2d9c041cf5feb /examples | |
parent | 73336ee695364a7d549f88fb54abe8fc89976657 (diff) |
Have Scene3DItem deal with input events
Change-Id: I8b7637d80e3b9b2ad1b140f32a5e824d2547a936
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/scene3d/AnimatedEntity.qml | 4 | ||||
-rw-r--r-- | examples/scene3d/main.qml | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/examples/scene3d/AnimatedEntity.qml b/examples/scene3d/AnimatedEntity.qml index 60a6d5251..246074c06 100644 --- a/examples/scene3d/AnimatedEntity.qml +++ b/examples/scene3d/AnimatedEntity.qml @@ -60,6 +60,10 @@ Entity { viewCenter: Qt.vector3d( 0.0, 0.0, 0.0 ) } + Configuration { + controlledCamera: camera + } + components: [ FrameGraph { activeFrameGraph: Viewport { diff --git a/examples/scene3d/main.qml b/examples/scene3d/main.qml index ebf885e3b..210136322 100644 --- a/examples/scene3d/main.qml +++ b/examples/scene3d/main.qml @@ -74,6 +74,7 @@ Item { Scene3D { anchors.fill: parent anchors.margins: 10 + focus: true AnimatedEntity {} } |