To use preset components, add the modules that contain them to your project by selecting Library > Components > . For more information, see Adding and Removing Modules. You can then create instances of the components by dragging-and-dropping them from Library to Form Editor, 3D Editor, or Navigator.
To edit the appearance of a component instance, select it in Form Editor, 3D Editor, or Navigator and set its properties in the Properties view.
For more information about creating your own components, see Creating Custom Components.
You can use 3D Editor in the Design mode to edit files you created using 3D graphics applications and stored in one of the supported formats. You cannot create 3D models or other assets in the editor, but you can import the assets you need and work with them to create scenes and states, as well as the transitions between them.
- 3D Views
- Instanced Rendering
- Skeletal Animation
- 3D Models
- Materials and Shaders
- 3D Materials
- 3D Effects
- Custom Shaders
- Custom Effects and Materials
- Scene Environment
- Morph Target
When you import 3D scenes from files that you exported from 3D graphics tools, you also import the camera, light, model, and materials as 3D components. If your scene did not contain them, you can add predefined 3D components to it and edit their properties to fit your needs.
Note: Using 3D components will affect the performance of your UI. Do not use 3D components if the same results can be achieved using 2D components.
The following video shows you how to add the components included in the Qt Quick 3D module, such as 3D models, cameras, and lights, to your scene:
The following video shows you how to use the custom shader utilities, 3D effects, and materials:
The following video shows you how to combine 2D and 3D components:
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.