在 3D 空间表示光源。 更多...
导入语句: | import QtGraphs 6.6 |
实例化: | Q3DLight |
Status: | Technical Preview |
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
.