aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtdesignstudio/src/qtquick3d-editor
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2020-04-02 11:43:37 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2020-04-02 14:15:12 +0000
commit4efb81ba0b73279c186874eb4b1a75a89db5fc1b (patch)
tree62845a6f2d7c5d730895b5948db9d70486de5ba2 /doc/qtdesignstudio/src/qtquick3d-editor
parent936e28740268b16b8cec9f374f95c99e21ae7630 (diff)
Doc: Edit info about Qt Quick 3D View type
Add screenshots. Change-Id: I06cb35deabb7c4a2bb6fda3b47dfc3ee49be1b32 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'doc/qtdesignstudio/src/qtquick3d-editor')
-rw-r--r--doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-view.qdoc13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-view.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-view.qdoc
index ae1e50e0d3..8a3930a3f1 100644
--- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-view.qdoc
+++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-view.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2019 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Design Studio documentation.
@@ -31,6 +31,13 @@
\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}
component from \uicontrol Library > \uicontrol {QML Types} >
\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
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.
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,
@@ -49,6 +58,8 @@
or in the \uicontrol Navigator and modify the property values in the
\uicontrol Properties view.
+ \image studio-qtquick-3d-view.png "View 3D component properties"
+
For more information about the available components and their properties,
see \l{Using 3D Components}.
*/