在 3D 空间表示光源。 更多...
导入语句: | import QtDataVisualization 1.2 |
Since: | QtDataVisualization 1.0 |
实例化: | Q3DLight |
Light3D represents a monochrome light source in 3D space.
注意:
默认光有
autoPosition
true
.
[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.