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

Light3D QML Type

Representation of a light source in 3D space.

This type was introduced in QtDataVisualization 1.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Light3D QML Type

  • Import Statement: import QtDataVisualization 1.4

  • Since:: QtDataVisualization 1.0

  • Instantiates:: Q3DLight

  • Group: Light3D is part of datavisualization_qml

Detailed Description

Light3D represents a monochrome light source in 3D space.

Default light has autoPosition true.

Property Documentation

 

[since QtDataVisualization 1.3] autoPosition : bool

Defines whether the light position follows the camera automatically.

Has no effect if shadows are enabled. Remember to disable shadows before setting light's position, or it will be overwritten by automatic positioning if this property is false.

This property was introduced in QtDataVisualization 1.3.

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