GvrPointerInputModuleImpl

Implementation of GvrPointerInputModule

Summary

Properties

CurrentEventData
PointerEventData
PointerEventData from the most recent frame.
EventExecutor
Interface for executing events.
ModuleController
Interface for controlling the actual InputModule.
Pointer
The GvrBasePointer which will be responding to pointer events.
ScrollInput
The GvrPointerScrollInput used to route Scroll Events through EventSystem
VrModeOnly
bool
Determines whether pointer input is active in VR Mode only (true), or all of the time (false).

Public functions

DeactivateModule()
void
IsPointerOverGameObject(int pointerId)
bool
Process()
void
ShouldActivateModule()
bool

Properties

CurrentEventData

PointerEventData CurrentEventData

PointerEventData from the most recent frame.

EventExecutor

IGvrEventExecutor EventExecutor

Interface for executing events.

ModuleController

IGvrInputModuleController ModuleController

Interface for controlling the actual InputModule.

Pointer

GvrBasePointer Pointer

The GvrBasePointer which will be responding to pointer events.

ScrollInput

GvrPointerScrollInput ScrollInput

The GvrPointerScrollInput used to route Scroll Events through EventSystem

VrModeOnly

bool VrModeOnly

Determines whether pointer input is active in VR Mode only (true), or all of the time (false).

Set to false if you plan to use direct screen taps or other input when not in VR Mode.

Public functions

DeactivateModule

void DeactivateModule()

IsPointerOverGameObject

bool IsPointerOverGameObject(
  int pointerId
)

Process

void Process()

ShouldActivateModule

bool ShouldActivateModule()