Qt Creator Manual | Adding 3D Views

Qt Creator Manual 4.12.0

Working in the 3D Editor ◦ Using 3D Components

# Adding 3D Views

To display Qt Quick 3D types in the Library, select Library > QML Imports > Add Import > QtQuick3D. The types are displayed in the QML Types tab.

To add a 3D view to the scene, drag and drop a View 3D component from Library > QML Types > Qt Quick 3D to the 3D editor or to the Navigator. A 3D view contains a reference node that specifies a scene light, camera, and model. A default material is attached to the model. You can attach textures to materials.

By default, a directional light and a perspective camera are used. To use other light and camera types, change the type of the component in the Type field in the Properties view. For example, to use a point light, enter PointLight.

To edit component properties, select the component in the 3D editor or in the Navigator and modify the property values in the Properties view.

For more information about the available components and their properties, see Using 3D Components.

Working in the 3D Editor ◦ Using 3D Components