Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to add AxisHelper in 3D scene
Forum Updated to NodeBB v4.3 + New Features

How to add AxisHelper in 3D scene

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 174 Views
  • 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 saurabh162
    #1

    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
    0

    • Login

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