Qt3DRender.QAbstractLight¶
Encapsulate a
QAbstractLight
object in a Qt 3D scene. More…

Inherited by: Qt3DRender.QDirectionalLight, Qt3DRender.QPointLight, Qt3DRender.QSpotLight
Synopsis¶
Slots¶
def
setColor
(color)def
setIntensity
(intensity)
Signals¶
def
colorChanged
(color)def
intensityChanged
(intensity)
Detailed Description¶
-
PySide2.Qt3DRender.Qt3DRender.QAbstractLight.
Type
¶ Identifies the particular type of light.
Constant
Description
Qt3DRender.QAbstractLight.PointLight
Qt3DRender.QAbstractLight.DirectionalLight
Qt3DRender.QAbstractLight.SpotLight
-
PySide2.Qt3DRender.Qt3DRender.QAbstractLight.
color
()¶ - Return type
QColor
See also
setColor()
-
PySide2.Qt3DRender.Qt3DRender.QAbstractLight.
colorChanged
(color)¶ - Parameters
color –
QColor
-
PySide2.Qt3DRender.Qt3DRender.QAbstractLight.
intensity
()¶ - Return type
float
See also
setIntensity()
-
PySide2.Qt3DRender.Qt3DRender.QAbstractLight.
intensityChanged
(intensity)¶ - Parameters
intensity –
float
-
PySide2.Qt3DRender.Qt3DRender.QAbstractLight.
setColor
(color)¶ - Parameters
color –
QColor
See also
color()
-
PySide2.Qt3DRender.Qt3DRender.QAbstractLight.
setIntensity
(intensity)¶ - Parameters
intensity –
float
See also
intensity()