En esta página

RayCaster QML Type

utilizado para realizar pruebas de fundición de rayos en coordenadas de mundo 3d. Más...

Import Statement: import Qt3D.Render 2.11
In C++: QRayCaster
Status: Deprecated

Propiedades

Descripción detallada

El rayo 3d está 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 mientras el componente esté activado. La propiedad hits se actualizará con la lista de intersecciones.

Ver también AbstractRayCaster, ScreenRayCaster, y NoPicking.

Documentación de propiedades

direction : vector3D

Mantiene la dirección del rayo 3D. Debe ser un vector unitario.

length : real

Mantiene la longitud del rayo 3D.

origin : vector3d

Mantiene 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.