Light QML Type
Encapsulate a QAbstractLight object in a Qt 3D scene. \since 5.6. More...
| Instantiates: | QAbstractLight |
Properties
- type : enumeration
Detailed Description
\inqmlmoduleQt3D.Render
Property Documentation
[read-only] type : enumeration |
\readonly
Holds the particular type of light.
| Constant | Description |
|---|---|
Light.PointLight | A point light |
Light.DirectionalLight | A directional light |
Light.SpotLight | a spot light |