QAbstractLight

Encapsulate a QAbstractLight object in a Qt 3D scene. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QAbstractLight

Inherited by: QSpotLight, QPointLight, QDirectionalLight

Synopsis

Functions

Detailed Description

class PySide6.Qt3DRender.Qt3DRender.QAbstractLight
PySide6.Qt3DRender.Qt3DRender.QAbstractLight.Type

Identifies the particular type of light.

Constant

Description

Qt3DRender.QAbstractLight.PointLight

Qt3DRender.QAbstractLight.DirectionalLight

Qt3DRender.QAbstractLight.SpotLight

PySide6.Qt3DRender.Qt3DRender.QAbstractLight.color()
Return type

PySide6.QtGui.QColor

See also

setColor()

PySide6.Qt3DRender.Qt3DRender.QAbstractLight.colorChanged(color)
Parameters

colorPySide6.QtGui.QColor

PySide6.Qt3DRender.Qt3DRender.QAbstractLight.intensity()
Return type

float

See also

setIntensity()

PySide6.Qt3DRender.Qt3DRender.QAbstractLight.intensityChanged(intensity)
Parameters

intensity – float

PySide6.Qt3DRender.Qt3DRender.QAbstractLight.setColor(color)
Parameters

colorPySide6.QtGui.QColor

See also

color()

PySide6.Qt3DRender.Qt3DRender.QAbstractLight.setIntensity(intensity)
Parameters

intensity – float

See also

intensity()

PySide6.Qt3DRender.Qt3DRender.QAbstractLight.type()
Return type

Type

Holds the current QAbstractLight type.