Extension of GraphicRaycaster to support ray casting with world space rays instead of just screen-space pointer positions
More...
|
| override void | Raycast (PointerEventData eventData, List< RaycastResult > resultAppendList) |
| | Performs a raycast using eventData.worldSpaceRay More...
|
| |
| void | RaycastPointer (PointerEventData eventData, List< RaycastResult > resultAppendList) |
| | Performs a raycast using the pointer object attached to this OVRRaycaster More...
|
| |
| Vector2 | GetScreenPosition (RaycastResult raycastResult) |
| | Get screen position of worldPosition contained in this RaycastResult More...
|
| |
| bool | IsFocussed () |
| | Is this the currently focussed Raycaster according to the InputModule More...
|
| |
| void | OnPointerEnter (PointerEventData e) |
| |
Extension of GraphicRaycaster to support ray casting with world space rays instead of just screen-space pointer positions
◆ OVRRaycaster()
| OVRRaycaster.OVRRaycaster |
( |
| ) |
|
|
protected |
◆ GetScreenPosition()
| Vector2 OVRRaycaster.GetScreenPosition |
( |
RaycastResult |
raycastResult | ) |
|
Get screen position of worldPosition contained in this RaycastResult
- Parameters
-
- Returns
◆ IsFocussed()
| bool OVRRaycaster.IsFocussed |
( |
| ) |
|
Is this the currently focussed Raycaster according to the InputModule
- Returns
◆ OnPointerEnter()
| void OVRRaycaster.OnPointerEnter |
( |
PointerEventData |
e | ) |
|
◆ Raycast()
| override void OVRRaycaster.Raycast |
( |
PointerEventData |
eventData, |
|
|
List< RaycastResult > |
resultAppendList |
|
) |
| |
Performs a raycast using eventData.worldSpaceRay
- Parameters
-
| eventData | |
| resultAppendList | |
◆ RaycastPointer()
| void OVRRaycaster.RaycastPointer |
( |
PointerEventData |
eventData, |
|
|
List< RaycastResult > |
resultAppendList |
|
) |
| |
Performs a raycast using the pointer object attached to this OVRRaycaster
- Parameters
-
| eventData | |
| resultAppendList | |
◆ Start()
| override void OVRRaycaster.Start |
( |
| ) |
|
|
protected |
◆ pointer
| GameObject OVRRaycaster.pointer |
◆ sortOrder
| int OVRRaycaster.sortOrder = 0 |
◆ eventCamera
| override Camera OVRRaycaster.eventCamera |
|
get |
◆ sortOrderPriority
| override int OVRRaycaster.sortOrderPriority |
|
get |
The documentation for this class was generated from the following file: