Light3D QML Type

在 3D 空间表示光源。 更多...

import 语句: import QtDataVisualization 1.5
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.