Light3D QML Type
Darstellung einer Lichtquelle im 3D-Raum. Mehr...
| Import Statement: | import QtDataVisualization 1.12 |
| Since: | QtDataVisualization 1.0 |
| In C++: | Q3DLight |
| Status: | Deprecated |
Dieser Typ ist veraltet. Wir raten dringend davon ab, ihn in neuem Code zu verwenden.
Eigenschaften
- autoPosition : bool
(since QtDataVisualization 1.3)
Ausführliche Beschreibung
Light3D stellt eine monochrome Lichtquelle im 3D-Raum dar.
Hinweis: Die Standard lichtquelle hat die Koordinaten autoPosition true .
Dokumentation der Eigenschaften
autoPosition : bool [since QtDataVisualization 1.3]
Legt fest, ob die Lichtposition der Kamera automatisch folgt.
Hinweis: Hat keine Auswirkung, wenn Schatten aktiviert sind. Denken Sie daran, Schatten zu deaktivieren, bevor Sie die Position der Lichtquelle festlegen, da diese sonst durch die automatische Positionierung überschrieben wird, wenn diese Eigenschaft auf „ false “ gesetzt ist.
Diese Eigenschaft wurde in QtDataVisualization 1.3 eingeführt.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.