QAbstractLight

PyQt5.Qt3DRender.QAbstractLight

Inherits from QComponent.

Inherited by QDirectionalLight, QPointLight, QSpotLight.

Description

Encapsulate a QAbstractLight object in a Qt 3D scene.

Enums

Type

Identifies the particular type of light.

Member

Value

Description

DirectionalLight

TODO

TODO

PointLight

TODO

TODO

SpotLight

TODO

TODO

Methods

color() QColor

See also

setColor().


intensity() float

See also

setIntensity().


setColor(Union[QColor, GlobalColor])

See also

color().


setIntensity(float)

See also

intensity().


type() Type

Holds the current QAbstractLight type.

Signals

colorChanged(Union[QColor, GlobalColor])

TODO


intensityChanged(float)

TODO