DirectionalLight QML Type

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

import 語句: import Qt3D.Render 2.8
在 C++: QDirectionalLight
繼承:

Light

狀態: 棄用

特性

詳細描述

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.

注意: The exact meaning and use of this property is up to the material implementation.