OVRPhysicsRaycaster Class
Extends BaseRaycaster
Simple event system using physics raycasts.
Very closely based on UnityEngine.EventSystems.PhysicsRaycaster
Object Data for protected-static-attrib
static const int kNoEventMaskSet[Get]
Const to use for clarity when no event mask is set.
LayerMask m_EventMask[Get]
Layer mask used to filter events.
Always combined with the camera's culling mask if a camera is used.
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.
override void Raycast ( PointerEventData eventData,
List< RaycastResult > resultAppendList )
Perform a raycast using the worldSpaceRay in eventData.
ParameterseventData
resultAppendList
void Spherecast ( PointerEventData eventData,
List< RaycastResult > resultAppendList,
float radius )
Perform a Spherecast using the worldSpaceRay in eventData.
ParameterseventData
resultAppendList
radiusRadius of the sphere
Vector2 GetScreenPos ( Vector3 worldPosition )
Get screen position of this world position as seen by the event camera of this OVRPhysicsRaycaster.