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

OVRPhysicsRaycaster Class

Extends BaseRaycaster
Simple event system using physics raycasts.
Very closely based on UnityEngine.EventSystems.PhysicsRaycaster

Object Data for protected-static-attrib

Const to use for clarity when no event mask is set.

Protected Fields

Layer mask used to filter events.
Always combined with the camera's culling mask if a camera is used.

Properties

override Camera eventCamera[Get]
Depth used to determine the order of event processing.
override int sortOrderPriority[Get]
Event mask used to determine which objects will receive events.
Layer mask used to filter events.
Always combined with the camera's culling mask if a camera is used.

Fields

int sortOrder[Get]

Protected Functions

OVRPhysicsRaycaster ( )

Member Functions

Perform a raycast using the worldSpaceRay in eventData.
Parameters
eventData
resultAppendList
Perform a Spherecast using the worldSpaceRay in eventData.
Parameters
eventData
resultAppendList
radius
Radius of the sphere
Get screen position of this world position as seen by the event camera of this OVRPhysicsRaycaster.
Parameters
worldPosition
Returns
Did you find this page helpful?
Thumbs up icon
Thumbs down icon