DirectionalLight QML Type

Encapsulate a Directional Light object in a Qt 3D scene. 更多...

import 语句: import Qt3D.Render 2.12
Since: Qt 5.7
实例化: QDirectionalLight

特性

详细描述

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.

特性文档编制

worldDirection : vector3d

Specifies the world direction of the directional light