Helper struct to store ray casting parameters.
 
QSize screenSize
QSize of the 3d engine window.
 
float maxDistance
The maximum distance from ray origin to look for hits when casting a ray.
 
bool singleResult
If set to true, only the closest point cloud hit will be returned (other entities always return only ...
 
RayCastContext(bool singleResult=true, QSize screenSize=QSize(), float maxDistance=0.f)