Representation of a light source in 3D space. More...
Import Statement: | import QtDataVisualization |
Since: | QtDataVisualization 1.0 |
Instantiates: | Q3DLight |
Light3D represents a monochrome light source in 3D space.
Note: Default light has autoPosition true
.
[since QtDataVisualization 1.3] autoPosition : bool
Defines whether the light position follows the camera automatically.
Note: Has no effect if shadows are enabled. Remember to disable shadows before setting light's position, or it will be overwritten by automatic positioning if this property is false
.
This property was introduced in QtDataVisualization 1.3.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtdatavisualization-light3d.html