forked from qt-creator/qt-creator
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:
BIN
doc/qtdesignstudio/images/studio-navigator-view3d.png
Normal file
BIN
doc/qtdesignstudio/images/studio-navigator-view3d.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
BIN
doc/qtdesignstudio/images/studio-qtquick-3d-view.png
Normal file
BIN
doc/qtdesignstudio/images/studio-qtquick-3d-view.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
@@ -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}.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user