Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to add AxisHelper in 3D scene
Qt 6.11 is out! See what's new in the release blog

How to add AxisHelper in 3D scene

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 196 Views 1 Watching
  • 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 Offline
    S Offline
    saurabh162
    wrote on last edited by
    #1

    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"
    
                 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
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved