Light QML Type
Encapsulate a QAbstractLight object in a Qt 3D scene. More...
Import Statement: | import Qt3D.Render 2.0 |
Since: | Qt 5.6 |
Instantiates: | QAbstractLight |
Properties
- type : enumeration
Detailed Description
Property Documentation
[read-only] type : enumeration
Holds the particular type of light.
Constant | Description |
---|---|
Light.PointLight |
A point light |
Light.DirectionalLight |
A directional light |
Light.SpotLight |
a spot light |
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qml-qt3d-render-light.html