Light3D QML Type | Qt Data Visualization 5.9

Qt 5.9 | Qt Data Visualization | QML Types | Light3D QML Type

Qt 5.9.6 Reference Documentation

# Light3D QML Type

Representation of a light source in 3D space. More...

Import Statement: | import QtDataVisualization 1.2
Since: | QtDataVisualization 1.0
Instantiates: | Q3DLight

- List of all members, including inherited members

## Properties

- autoPosition : bool

## Detailed Description

Light3D represents a monochrome light source in 3D space.

Note: Default light has autoPosition `true`.

## Property Documentation

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.