Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/3dview/viewer3d.qml
Show All 19 Lines | 19 | Rectangle { | |||
---|---|---|---|---|---|
20 | id: scene | 20 | id: scene | ||
21 | anchors.fill: parent | 21 | anchors.fill: parent | ||
22 | Scene3D { | 22 | Scene3D { | ||
23 | id: scene3d | 23 | id: scene3d | ||
24 | anchors.fill: parent | 24 | anchors.fill: parent | ||
25 | focus: true | 25 | focus: true | ||
26 | aspects: ["input", "logic"] | 26 | aspects: ["input", "logic"] | ||
27 | cameraAspectRatioMode: Scene3D.AutomaticAspectRatio | 27 | cameraAspectRatioMode: Scene3D.AutomaticAspectRatio | ||
28 | AnimatedEntity { | 28 | SceneEntity { | ||
29 | id: entity | 29 | id: entity | ||
30 | } | 30 | } | ||
31 | 31 | | |||
32 | } | 32 | } | ||
33 | } | 33 | } | ||
34 | 34 | | |||
35 | Text { | 35 | Text { | ||
36 | objectName: "fileName" | 36 | objectName: "fileName" | ||
37 | id: fileName | 37 | id: fileName | ||
38 | text: "" | 38 | text: "" | ||
39 | onTextChanged: { | 39 | onTextChanged: { | ||
40 | entity.runLineMesh(text) | 40 | entity.runLineMesh(text) | ||
41 | } | 41 | } | ||
42 | } | 42 | } | ||
43 | } | 43 | } |