GvrPointerGraphicRaycaster

This script provides a raycaster for use with the GvrPointerInputModule.

Summary

It behaves similarly to the standards Graphic raycaster, except that it utilize raycast modes specifically for Gvr.

View GvrBasePointerRaycaster.cs and GvrPointerInputModule.cs for more details.

Inheritance

Inherits from: GvrBasePointerRaycaster

Public types

BlockingObjects enum

Public attributes

blockingMask = NO_EVENT_MASK_SET
LayerMask
blockingObjects = BlockingObjects.ThreeD
BlockingObjects
ignoreReversedGraphics = true
bool

Properties

eventCamera
override Camera

Protected functions

GvrPointerGraphicRaycaster()
PerformRaycast(GvrBasePointer.PointerRay pointerRay, float radius, PointerEventData eventData, List< RaycastResult > resultAppendList)
virtual override bool

Public types

BlockingObjects

 BlockingObjects

Public attributes

blockingMask

LayerMask blockingMask = NO_EVENT_MASK_SET

blockingObjects

BlockingObjects blockingObjects = BlockingObjects.ThreeD

ignoreReversedGraphics

bool ignoreReversedGraphics = true

Properties

eventCamera

override Camera eventCamera

Protected functions

GvrPointerGraphicRaycaster

 GvrPointerGraphicRaycaster()

PerformRaycast

virtual override bool PerformRaycast(
  GvrBasePointer.PointerRay pointerRay,
  float radius,
  PointerEventData eventData,
  List< RaycastResult > resultAppendList
)