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