AreaLight QML Type | Qt Quick 3D 5.14.2

Qt 5.14 | Qt Quick 3D | QML Types | AreaLight QML Type

Qt 5.14.2 Reference Documentation

# AreaLight QML Type

Defines an area light in the scene. More...

Import Statement: | import QtQuick3D 1.14
Inherits: | Light

- List of all members, including inherited members

## Properties

- height : real
- width : real

## Detailed Description

The area light is similar to the directional light, but instead of emitting equally bright light across the whole scene, the area light emits directional light from a rectangle shaped object. Aside from the size, an area light has the same characteristics and properties as the directional light.

Rotating, scaling and moving actions will all effect an area light.

See also DirectionalLight and PointLight.

## Property Documentation

height : real

This property controls the height of an Area lights rectangle

width : real

This property controls the width of an Area lights rectangle.