diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2016-05-06 08:48:50 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-06 08:10:22 +0000 |
commit | cd78eba29314415c28bded4ded9db783480cd004 (patch) | |
tree | d2c6ffffdedc986db7317f4f2d2f22400d2ee1fe /examples/qt3d/clip-planes-qml/ClipPlaneEntity.qml | |
parent | 81020db255f0d35289ccc62370bcd60e829ddd0f (diff) |
Port missing examples to the new Layer(Filter) API
Note that the deferred-renderer-qml example never worked for me
so I can't completely confirm if it is repaired or not.
Change-Id: I8d39e69b755b25cc018dbefc22244af9bb621735
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/clip-planes-qml/ClipPlaneEntity.qml')
-rw-r--r-- | examples/qt3d/clip-planes-qml/ClipPlaneEntity.qml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/qt3d/clip-planes-qml/ClipPlaneEntity.qml b/examples/qt3d/clip-planes-qml/ClipPlaneEntity.qml index e70177c6d..4bd2028b6 100644 --- a/examples/qt3d/clip-planes-qml/ClipPlaneEntity.qml +++ b/examples/qt3d/clip-planes-qml/ClipPlaneEntity.qml @@ -54,6 +54,7 @@ import Qt3D.Extras 2.0 Entity { id: root + property Layer layer property Material visualMaterial; property real rotateAngle: 0.0 property vector3d rotateAxis: Qt.vector3d(1.0, 0.0, 0.0) @@ -79,10 +80,6 @@ Entity { rotation: fromAxisAndAngle(root.rotateAxis, root.rotateAngle) } - property Layer layer: Layer { - names: "visualization" - } - components: [visualMaterial, mesh, transform, layer] } |