Qt World Summit: Submit your Presentation

How to add AxisHelper in 3D scene

  • Dear developers,

    Please inform me how can I add axis helper in 3D scene. Attach you will find sample code.

    Thank you very much !!

      Rectangle {
                 id: scene
                 width: 2
                 Layout.fillWidth: true
                 Layout.fillHeight: true
                 color: "grey"
                    id: axisHelper3DScene
                   enableAxisLines: true
                 Scene3D {
                     id: scene3d
                     anchors.fill: parent
                     anchors.margins: 10
                     focus: true
                     aspects: ["input", "logic"]
                     cameraAspectRatioMode: Scene3D.AutomaticAspectRatio
                     AnimatedEntity {
                     id: animatedEntity

Log in to reply