DirectionalLight QML Type
Incorporar um objeto “Directional Light” em uma cena “ Qt 3D ”. Mais...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QDirectionalLight |
| Inherits: | |
| Status: | Deprecated |
Esse tipo está obsoleto. Recomendamos enfaticamente que você não o utilize em código novo.
Propriedades
- worldDirection : vector3d
Descrição detalhada
Uma luz direcional é uma fonte de luz que se comporta de maneira semelhante à luz solar. A luz proveniente de uma luz direcional incide sobre todos os objetos na mesma direção e com a mesma intensidade, independentemente de onde eles estejam na cena.
Documentação das propriedades
worldDirection : vector3d
Especifica a direção mundial da luz direcional.
Observação: O significado exato e o uso dessa propriedade dependem da implementação do material.
© 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.