API reference
API reference
Select your platform
No SDKs available
No versions available

OVRRaycaster Class

Extends GraphicRaycaster, IPointerEnterHandler
Extension of GraphicRaycaster to support ray casting with world space rays instead of just screen-space pointer positions.

Fields

GameObject pointer[Get]
int sortOrder[Get]

Properties

Canvas canvas[Get]
OVRRayTransformer rayTransformer[Get]
override Camera eventCamera[Get]
override int sortOrderPriority[Get]

Protected Functions

OVRRaycaster ( )
override void Start ( )

Member Functions

Performs a raycast using eventData.worldSpaceRay.
Parameters
eventData
resultAppendList
Performs a raycast using the pointer object attached to this OVRRaycaster.
Parameters
eventData
resultAppendList
Get screen position of worldPosition contained in this RaycastResult.
Parameters
worldPosition
Returns
Is this the currently focussed Raycaster according to the InputModule.
Returns
void OnPointerEnter
( PointerEventData e )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon