ScreenRayCaster QML Type

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

import 語句: import Qt3D.Render 2.12
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 .

特性文檔編製

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.