Light QML Type

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

Import Statement: import Qt3D.Render 2.7
Instantiates: QAbstractLight

Properties

  • type : enumeration

Detailed Description

Property Documentation

type : enumeration [read-only]

Holds the particular type of light.

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