aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtdesignstudio/src/qtquick3d-editor
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2020-04-07 12:01:47 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2020-04-07 14:16:02 +0000
commit080cc68f3db20e9038a3cd74d09d1a4c51a2ab57 (patch)
tree8eab7d06709c7a10e90cdccc5f75df83c9a235a1 /doc/qtdesignstudio/src/qtquick3d-editor
parent3a96c2b3dc9046e7d7badc4e49b361e5f4410001 (diff)
Doc: Update info about attaching texture to materials
Change-Id: Idc934db3e8b9b083fd60ae348eb84c095d2fca72 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> 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-texture.qdoc24
1 files changed, 23 insertions, 1 deletions
diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-texture.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-texture.qdoc
index 6e3ba22275..2ad8a24a81 100644
--- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-texture.qdoc
+++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-texture.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 Qt Design Studio.
@@ -36,6 +36,8 @@
You can use the Texture 3D QML type to attach textures to materials.
You specify an image and how it is mapped to meshes in a 3D scene.
+ \image studio-qtquick-3d-texture.png "Texture attached to a material in Design mode"
+
\section1 Selecting the Mapping Method
To specify the method of mapping to use when sampling a texture, select
@@ -108,4 +110,24 @@
For more information about rotating and pivoting components in the local
coordinate space, see \l {Setting Transform Properties}.
+
+ \section1 Applying Textures to Materials
+
+ You drag and drop an image from \uicontrol Library > \uicontrol Assets
+ on a material to create and set the texture automatically, or you can use
+ a Texture component.
+
+ To use Texture components to apply textures to materials:
+
+ \list 1
+ \li Drag and drop a Texture component from the \uicontrol Library to a
+ material component in the \uicontrol Navigator.
+ \li In the \uicontrol Properties view, specify the image to use in the
+ \uicontrol Source field.
+ \image studio-qtquick-3d-texture-properties.png "Texture properties"
+ \li Select the material component and specify the id of the texture to
+ use in the \uicontrol Properties view, \uicontrol {Diffuse map}
+ field.
+ \image studio-qtquick-3d-material-texture.png "Material properties"
+ \endlist
*/