aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtdesignstudio/src/qtquick3d-editor
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2020-05-15 14:46:23 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2020-05-15 13:27:03 +0000
commit564bace1ec3db065495dcd1d6ea93f93566fc643 (patch)
tree70f2e8a68d196cea47807a41f81588740bae3d35 /doc/qtdesignstudio/src/qtquick3d-editor
parent6839d2471e9e41fd7e79c1b2300c7a3ca25382bc (diff)
Doc: Describe SpotLight Qt Quick 3D type
Update screenshots of all light types in 3D Editor. Task-number: QDS-2056 Change-Id: I5f4fbacd01850c7cedcbd187969b9f310507649c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Diffstat (limited to 'doc/qtdesignstudio/src/qtquick3d-editor')
-rw-r--r--doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc19
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc
index cfd19be883..361514e053 100644
--- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc
+++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc
@@ -42,6 +42,7 @@
\list
\li \l{DirectionalLight}{Light Directional}
\li \l{PointLight}{Light Point}
+ \li \l{SpotLight}{Light Spot}
\li \l{AreaLight}{Light Area}
\endlist
@@ -121,6 +122,22 @@
Aside from fade, a point light has the same properties as a directional
light.
+ \section1 Spot Light
+
+ A spot light emits light towards one direction in a cone shape.
+ The light intensity diminishes when approaching the value of the
+ \uicontrol {Cone angle} property. The angle at which the light
+ intensity starts to diminish is defined by the
+ \uicontrol {Inner cone angle} property. Both angles are defined in degrees.
+
+ Inside the inner cone angle, the spot light behaves similarly to the point
+ light. There the light intensity diminishes according to inverse-square-law.
+ However, the fade-off (and range) can be controlled with the
+ \uicontrol {Constant fade}, \uicontrol {Linear fade}, and
+ \uicontrol {Quadratic fade} properties.
+
+ \image studio-3d-spot-light.png
+
\section1 Area Light
An area light is similar to the directional light. However, instead of
@@ -135,7 +152,7 @@
The image below shows an example on how to light an object with different
colors using two different area lights.
- \image area-light.png
+ \image studio-3d-area-light.png
You can rotate, scale, and move area lights.