En esta página

DirectionalLight QML Type

Encapsular un objeto «Luz direccional» en una escena « Qt 3D ». Más información...

Import Statement: import Qt3D.Render 2.12
In C++: QDirectionalLight
Inherits:

Light

Status: Deprecated

Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.

Propiedades

Descripción detallada

Una luz direccional es una fuente de luz que se comporta de forma similar a la luz solar. La luz procedente de una luz direccional incide sobre todos los objetos desde la misma dirección y con la misma intensidad, independientemente de dónde se encuentren en la escena.

Documentación de propiedades

worldDirection : vector3d

Especifica la dirección mundial de la luz direccional.

Nota: El significado exacto y el uso de esta propiedad dependen de la implementación del 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.