Light3D QML Type▲
-
Import Statement: import QtDataVisualization 1.4
-
Since:: QtDataVisualization 1.0
-
Instantiates:: Q3DLight
-
Group: Light3D is part of datavisualization_qml
Detailed Description▲
Light3D represents a monochrome light source in 3D space.
Default light has autoPosition true.
Property Documentation▲
[since QtDataVisualization 1.3] autoPosition : bool▲
Defines whether the light position follows the camera automatically.
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.