Light3D QML Type

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

Instantiates: Q3DLight

Properties

Detailed Description

\inqmlmoduleQtGraphs \ingroup graphs_qml

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.