OVRPhysicsRaycaster
()
|
Signature
UnityEngine.EventSystems.OVRPhysicsRaycaster.OVRPhysicsRaycaster() |
m_EventMask
: LayerMask |
Layer mask used to filter events.
Always combined with the camera's culling mask if a camera is used.
Signature
LayerMask UnityEngine.EventSystems.OVRPhysicsRaycaster.m_EventMask |
sortOrder
: int |
Signature
int UnityEngine.EventSystems.OVRPhysicsRaycaster.sortOrder |
kNoEventMaskSet
: const int |
Const to use for clarity when no event mask is set.
Signature
const int UnityEngine.EventSystems.OVRPhysicsRaycaster.kNoEventMaskSet |
depth
: int
[Get] |
Depth used to determine the order of event processing.
Signature
virtual int UnityEngine.EventSystems.OVRPhysicsRaycaster.depth |
eventCamera
: override Camera
[Get] |
Signature
override Camera UnityEngine.EventSystems.OVRPhysicsRaycaster.eventCamera |
eventMask
: LayerMask
[Get][Set] |
Layer mask used to filter events.
Always combined with the camera's culling mask if a camera is used.
Signature
LayerMask UnityEngine.EventSystems.OVRPhysicsRaycaster.eventMask |
finalEventMask
: int
[Get] |
Event mask used to determine which objects will receive events.
Signature
int UnityEngine.EventSystems.OVRPhysicsRaycaster.finalEventMask |
sortOrderPriority
: override int
[Get] |
Signature
override int UnityEngine.EventSystems.OVRPhysicsRaycaster.sortOrderPriority |
GetScreenPos
(
worldPosition
)
|
Get screen position of this world position as seen by the event camera of this OVRPhysicsRaycaster.
Signature
Vector2 UnityEngine.EventSystems.OVRPhysicsRaycaster.GetScreenPos(Vector3 worldPosition) Parameters worldPosition: Vector3Returns Vector2 |
Raycast
(
eventData
, resultAppendList
)
|
Perform a raycast using the worldSpaceRay in eventData.
Signature
override void UnityEngine.EventSystems.OVRPhysicsRaycaster.Raycast(PointerEventData eventData, List< RaycastResult > resultAppendList) Parameters eventData: PointerEventDataresultAppendList: List< RaycastResult >Returns override void |
Spherecast
(
eventData
, resultAppendList
, radius
)
|
Perform a Spherecast using the worldSpaceRay in eventData.
Signature
void UnityEngine.EventSystems.OVRPhysicsRaycaster.Spherecast(PointerEventData eventData, List< RaycastResult > resultAppendList, float radius) Parameters eventData: PointerEventDataresultAppendList: List< RaycastResult >radius: floatÂ
Radius of the sphere
Returns void |