Light3D QML Type

在 3D 空間錶示光源。 更多...

import 語句: import QtDataVisualization 1.2
Since: QtDataVisualization 1.0
實例化: Q3DLight

特性

詳細描述

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.