Performe ray casting test based on screen coordinates. 更多...
导入语句: | import Qt3D.Render 2.2 |
Since: | Qt 5.11 |
实例化: | QScreenRayCaster |
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.
另请参阅 RayCaster and NoPicking .
position : point |
Holds the length of the 3D ray.
注意: The coordinates will be used for every available render surface as long as they are in the valid range.