Q3DLight

Representation of a light source in 3D space. More

Inheritance diagram of PySide6.QtDataVisualization.Q3DLight

Synopsis

Functions

Detailed Description

Q3DLight represents a monochrome light source in 3D space.

Note

Default light has isAutoPosition() true.

class PySide6.QtDataVisualization.Q3DLight([parent=None])
Parameters

parentPySide6.QtCore.QObject

Constructs a new 3D light located at origin. An optional parent parameter can be given and is then passed to QObject constructor.

PySide6.QtDataVisualization.Q3DLight.autoPositionChanged(autoPosition)
Parameters

autoPosition – bool

PySide6.QtDataVisualization.Q3DLight.isAutoPosition()
Return type

bool

PySide6.QtDataVisualization.Q3DLight.setAutoPosition(enabled)
Parameters

enabled – bool

See also

isAutoPosition()