- Qt 6.9
- Qt 3D
- QML Types
- Qt3D.Render (Deprecated)
- ScreenRayCaster
- Qt 6.9.2 Reference Documentation

# ScreenRayCaster QML Type

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

Import Statement: | `import Qt3D.Render 2.9`
In C++: | QScreenRayCaster
Status: | Deprecated

- List of all members, including inherited members

## Properties

- position : point

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