Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to add AxisHelper in 3D scene

    QML and Qt Quick
    1
    1
    74
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      saurabh162 last edited by saurabh162

      Dear developers,

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

      Thank you very much !!

      Rectangle {
                   id: scene
                   width: 2
                   Layout.fillWidth: true
                   Layout.fillHeight: true
                   color: "grey"
      
                   AxisHelper{
                      id: axisHelper3DScene
                     enableAxisLines: true
                  }
      
      
                   Scene3D {
                       id: scene3d
                       anchors.fill: parent
                       anchors.margins: 10
                       focus: true
                       aspects: ["input", "logic"]
                       cameraAspectRatioMode: Scene3D.AutomaticAspectRatio
                       
      
      
      
      
                       AnimatedEntity {
                       id: animatedEntity
      
                       }
                   }
      
               }
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post