ScreenRayCaster QML Type

Performe ray casting test based on screen coordinates. 更多...

导入语句: import Qt3D.Render 2.15
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.