RayCaster QML Type
Se utiliza para realizar pruebas de trazado de rayos en coordenadas del mundo 3D. Más...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QRayCaster |
| Status: | Deprecated |
Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Propiedades
Descripción detallada
El rayo 3D viene definido por su origen, dirección y longitud. Se verá afectado por las transformaciones aplicadas a la entidad a la que pertenece.
Las pruebas de proyección de rayos se realizarán en cada fotograma siempre que el componente esté habilitado. La propiedad «hits» se actualizará con la lista de intersecciones.
Véase también AbstractRayCaster, ScreenRayCaster y NoPicking.
Documentación de la propiedad
direction : vector3D
Contiene la dirección del rayo 3D. Debe ser un vector unitario.
length : real
Almacena la longitud del rayo 3D.
origin : vector3d
Almacena el origen del rayo 3D en coordenadas locales.
© 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.