Google VR SDK for Unity

Unity API Reference documentation for the Google VR SDK.


GvrCursorHelper Manages cursor lock state while developer is using editor head and controller emulation.
GvrAllEventsTrigger Exposes events from GvrEventExecutor that are fired by GvrPointerInputModule to the editor.
GvrArmModel Standard implementation for a mathematical model to make the virtual controller approximate the physical location of the Daydream controller.
GvrBaseArmModel Interface for a mathematical model that uses the orientation and location of the physical controller, and predicts the location of the controller and pointer to determine where to place the controller model within the scene.
GvrBasePointer This abstract class should be implemented for pointer based input, and used with the GvrPointerInputModule script.
GvrBasePointerRaycaster This script provides shared functionality used by all Gvr raycasters.
GvrControllerInput Main entry point for the Daydream controller API.
GvrControllerInputDevice Device instance of the Daydream controller API.
GvrControllerReticleVisual Visualizes a reticle using a Quad.
GvrControllerTooltipsSimple A lightweight tooltip designed to minimize draw calls.
GvrControllerVisual Provides visual feedback for the daydream controller.
GvrDaydreamApi Main entry point Daydream specific APIs.
GvrDropdown Dropdown UI component that works with the GvrRaycasters.
GvrEditorEmulator Provides mouse-controlled head tracking emulation in the Unity editor.
GvrEventExecutor Wraps UnityEngine.EventSystems.ExecuteEvents.
GvrExecuteEventsExtension This script extends the standard Unity EventSystem events with Gvr specific events.
GvrHeadset Main entry point for Standalone headset APIs.
GvrInfo Use to display an Info box in the inspector for a Monobehaviour or ScriptableObject.
GvrIntent Provides information about the Android Intent that started the current Activity.
GvrLaserPointer Implementation of GvrBasePointer for a laser pointer visual.
GvrLaserVisual Visualizes a laser and a reticle using a LineRenderer and a Quad.
GvrMathHelpers Helper functions to perform common math operations for Gvr.
GvrPointerGraphicRaycaster This script provides a raycaster for use with the GvrPointerInputModule.
GvrPointerInputModule This script provides an implemention of Unity's BaseInputModule class, so that Canvas-based (uGUI) UI elements and 3D scene objects can be interacted with in a Gvr Application.
GvrPointerInputModuleImpl Implementation of GvrPointerInputModule
GvrPointerPhysicsRaycaster This script provides a raycaster for use with the GvrPointerInputModule.
GvrPointerScrollInput This class is used by GvrPointerInputModule to route scroll events through Unity's Event System.
GvrRecenterOnlyController Used to recenter only the controllers, required for scenes that have no clear forward direction.
GvrReticlePointer Draws a circular reticle in front of any object that the user points at.
GvrScrollSettings Used to override the global scroll settings in GvrPointerScrollInput for the GameObject that this script is attached to.
GvrSettings Accesses and configures Daydream settings.
GvrTooltip A tooltip for displaying control schemes overlaying the controller visual using a Unity Canvas.
GvrTrackedController Represents an object tracked by controller input.
GvrUnitySdkVersion Provides and logs versioning information for the GVR SDK for Unity.
GvrVRHelpers Helper functions common to GVR VR applications.
GvrVideoPlayerTexture Plays video using Exoplayer rendering it on the main texture.


IGvrEventExecutor Provides an interface for executing events for IEventSystemHandler.
IGvrInputModuleController Interface for manipulating an InputModule used by GvrPointerInputModuleImpl
IGvrPointerHoverHandler Interface to implement if you wish to receive OnGvrPointerHover callbacks.
IGvrScrollSettings Interface to implement to override the global scroll settings in GvrPointerScrollInput for an object.


PointerRay Represents a ray segment for a series of intersecting rays.