DirectionalLight QML Type
Incorporare un oggetto “Directional Light” in una scena “ Qt 3D ”. Maggiori informazioni...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QDirectionalLight |
| Inherits: | |
| Status: | Deprecated |
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel codice nuovo.
Proprietà
- worldDirection : vector3d
Descrizione dettagliata
Una luce direzionale è una sorgente luminosa che si comporta in modo simile alla luce solare. La luce proveniente da una sorgente direzionale colpisce tutti gli oggetti dalla stessa direzione e con la stessa intensità, indipendentemente dalla loro posizione nella scena.
Documentazione delle proprietà
worldDirection : vector3d
Specifica la direzione globale della luce direzionale.
Nota: il significato e l'utilizzo esatti di questa proprietà dipendono dall'implementazione del materiale.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.