RayCaster QML Type
used to perform ray casting tests in 3d world coordinates. More...
|Import Statement:||import Qt3D.Render 2.15|
The 3d ray is defined by its origin, direction and length. It will be affected by the transformations applied to the entity it belongs to.
Ray casting tests will be performed every frame as long as the component is enabled. The hits property will be updated with the list of intersections.
length : real
Holds the length of the 3d ray.
origin : vector3d
Holds the origin of the 3D ray in local coordinates.
© 2022 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.