Light QML Type

Encapsulate a QAbstractLight object in a Qt 3D scene. More...

Import Statement: import Qt3D.Render 2.13
In C++: QAbstractLight
Inherited By:

DirectionalLight, PointLight, and SpotLight

Status: Deprecated

This type is deprecated. We strongly advise against using it in new code.

Properties

Detailed Description

Property Documentation

color : color

Holds the current Light color.

intensity : real

Holds the current Light intensity.

type : enumeration [read-only]

Holds the particular type of light.

ConstantDescription
Light.PointLightA point light
Light.DirectionalLightA directional light
Light.SpotLighta spot light