DirectionalLight QML Type | Qt 3D 5.12.7

Qt 5.12 | Qt 3D | QML Types | DirectionalLight QML Type

Qt 5.12.7 Reference Documentation

# DirectionalLight QML Type

Encapsulate a Directional Light object in a Qt 3D scene. More...

Import Statement: | import Qt3D.Render 2.12
Since: | Qt 5.7
Instantiates: | QDirectionalLight

- List of all members, including inherited members

## Properties

- worldDirection : vector3d

## Detailed Description

A directional light is a light source that behaves similar to sunlight. The light from a directional light hits all objects from the same direction and with the same intensity, regardless of where they are in the scene.

## Property Documentation

worldDirection : vector3d

Specifies the world direction of the directional light