class QAbstractLight

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QAbstractLight

Inherited by: QSpotLight, QPointLight, QDirectionalLight

Synopsis

Properties

Methods

Slots

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class Type

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property colorᅟ: QColor
Access functions:
property intensityᅟ: float
Access functions:
property typeᅟ: Qt3DRender.QAbstractLight.Type
Access functions:
color()
Return type:

QColor

Getter of property colorᅟ .

colorChanged(color)
Parameters:

colorQColor

Notification signal of property colorᅟ .

intensity()
Return type:

float

Getter of property intensityᅟ .

intensityChanged(intensity)
Parameters:

intensity – float

Notification signal of property intensityᅟ .

setColor(color)
Parameters:

colorQColor

Setter of property colorᅟ .

setIntensity(intensity)
Parameters:

intensity – float

Setter of property intensityᅟ .

type()
Return type:

Type

Getter of property typeᅟ .