AreaLight QML Type

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

Import Statement: import QtQuick3D 1.15
Inherits:

Light

Properties

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, PointLight, and SpotLight.

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.


© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.