Doc: Edit info about Qt Quick 3D View type

Add screenshots.

Change-Id: I06cb35deabb7c4a2bb6fda3b47dfc3ee49be1b32
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Leena Miettinen
2020-04-02 11:43:37 +02:00
parent 936e287402
commit 4efb81ba0b
3 changed files with 12 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,6 +1,6 @@
/**************************************************************************** /****************************************************************************
** **
** Copyright (C) 2019 The Qt Company Ltd. ** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/ ** Contact: https://www.qt.io/licensing/
** **
** This file is part of the Qt Design Studio documentation. ** This file is part of the Qt Design Studio documentation.
@@ -31,6 +31,13 @@
\title Adding 3D Views \title Adding 3D Views
To display \l {Qt Quick 3D} types in the \uicontrol Library, select
\uicontrol Library > \uicontrol {QML Imports} > \uicontrol {Add Import} >
\uicontrol QtQuick3D. The types are displayed in the \uicontrol {QML Types}
tab.
\image studio-qtquick-3d-components.png
To add a 3D view to the scene, drag and drop a \uicontrol {View 3D} To add a 3D view to the scene, drag and drop a \uicontrol {View 3D}
component from \uicontrol Library > \uicontrol {QML Types} > component from \uicontrol Library > \uicontrol {QML Types} >
\uicontrol {Qt Quick 3D} to the 3D editor or to the \uicontrol Navigator. \uicontrol {Qt Quick 3D} to the 3D editor or to the \uicontrol Navigator.
@@ -38,6 +45,8 @@
and model. A default material is attached to the model. You can attach and model. A default material is attached to the model. You can attach
textures to materials. textures to materials.
\image studio-navigator-view3d.png "View 3D component in the Navigator"
By default, a directional light and a perspective camera are used. 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 To use other light and camera types, change the type of the component in
the \uicontrol Type field in the \uicontrol Properties view. For example, the \uicontrol Type field in the \uicontrol Properties view. For example,
@@ -49,6 +58,8 @@
or in the \uicontrol Navigator and modify the property values in the or in the \uicontrol Navigator and modify the property values in the
\uicontrol Properties view. \uicontrol Properties view.
\image studio-qtquick-3d-view.png "View 3D component properties"
For more information about the available components and their properties, For more information about the available components and their properties,
see \l{Using 3D Components}. see \l{Using 3D Components}.
*/ */