GvrPointerGraphicRaycaster
This script provides a raycaster for use with the GvrPointerInputModule. 
Summary
This behaves similarly to the standards Graphic raycaster, except that it utilize raycast modes specifically for Gvr.
See GvrBasePointerRaycaster.cs and GvrPointerInputModule.cs for more details. 
Inheritance
Inherits from: GvrBasePointerRaycaster| Public types | |
|---|---|
| BlockingObjects{ | enum Types of blocking objects this object's raycasts can hit. | 
| Public attributes | |
|---|---|
| blockingMask = NO_EVENT_MASK_SET | LayerMaskThe blocking layer mask to use when raycasting. | 
| blockingObjects = BlockingObjects.ThreeD | The type of objects which can block raycasts. | 
| ignoreReversedGraphics = true | boolFlag for ignoring reversed graphics direction. | 
| Properties | |
|---|---|
| eventCamera | override CameraGets the event Camera used for gaze-based raycasts.  | 
| Protected functions | |
|---|---|
| GvrPointerGraphicRaycaster() | 
        Initializes a new instance of the GvrPointerGraphicRaycaster class.  | 
| PerformRaycast(GvrBasePointer.PointerRay pointerRay, float radius, PointerEventData eventData, List< RaycastResult > resultAppendList) | virtual override boolPerform raycast on the scene.  | 
Public types
BlockingObjects
BlockingObjects
Public attributes
blockingMask
LayerMask blockingMask = NO_EVENT_MASK_SET
The blocking layer mask to use when raycasting.
blockingObjects
BlockingObjects blockingObjects = BlockingObjects.ThreeD
The type of objects which can block raycasts.
ignoreReversedGraphics
bool ignoreReversedGraphics = true
Flag for ignoring reversed graphics direction.
Properties
eventCamera
override Camera eventCamera
Gets the event Camera used for gaze-based raycasts.
The event camera.
Protected functions
GvrPointerGraphicRaycaster
GvrPointerGraphicRaycaster()
Initializes a new instance of the GvrPointerGraphicRaycaster class.
PerformRaycast
virtual override bool PerformRaycast( GvrBasePointer.PointerRay pointerRay, float radius, PointerEventData eventData, List< RaycastResult > resultAppendList )
Perform raycast on the scene.
| Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Parameters | 
 | ||||||||
| Returns | Returns  trueif the Raycast has at least one hit,falseotherwise. |