ScreenRayCaster QML Type

Performe ray casting test based on screen coordinates. More...

Import Statement: import Qt3D.Render 2.15
Since: Qt 5.11
Instantiates: QScreenRayCaster

Properties

Detailed Description

ScreenRayCaster can be used to perform ray casting tests by specifying coordinates in screen space, which will be used to construct an actual 3D ray between the near and far planes.

See also RayCaster and NoPicking.

Property Documentation

position : point

Holds the length of the 3D ray.

Note: The coordinates will be used for every available render surface as long as they are in the valid range.


© 2024 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.