To add 3D components to the scene, drag and drop a them from Library > QML 类型 > Qt Quick 3D to the scene or to a 3D view in Navigator .
注意: Using 3D components will affect the performance of your UI. You should not use 3D components if the same results can be achieved using 2D components.
To edit 3D components, select the component in 3D Editor or in Navigator and set its properties in the 特性 view.
You can set the opacity, visibility, and transform properties of all 3D components.
You can use the model component to load static mesh data from storage or one of the built-in primitive types: cube, cone, cylinder, plane (rectangle), or sphere. You can attach materials to meshes and sub-meshes.
You can use materials and shaders to define how object surfaces are rendered in a scene and during live preview.
You can use a Texture component to specify an image and how it is mapped to meshes in a 3D scene. Texture components can use image data either from a file or a Qt Quick QML type.
You can apply a set of predefined 3D materials on your models.
You can use 3D effect components to generate post-processing effects.
You can use 3D shader utilities to construct your own effects and materials.
If the ready-made 3D effects and materials don't meet your needs, you can use 3D shader utilities to construct your own effects and materials.
You can use several light types as the source of lighting in a scene and set their properties.
To project a 3D scene to a 2D viewport, such as Form Editor , it is necessary to view the scene from a camera. You can select the camera type and set its properties.
可以使用 SceneEnvironment type to specify how the scene is rendered globally.