IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

DirectionalLight QML Type

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

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

DirectionalLight QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.7

  • Instantiates:: QDirectionalLight

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.

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

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+