Light3D QML Type

Representation of a light source in 3D space. 更多...

Import Statement: import QtDataVisualization 1.2
开始支持版本: QtDataVisualization 1.0
Instantiates: Q3DLight

属性

详细描述

Light3D represents a monochrome light source in 3D space.

Note: Default light has autoPosition true.

属性

autoPosition : bool

Defines whether the light position follows the camera automatically.

Note: 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 QML property was introduced in QtDataVisualization 1.3.