Google VR for Unity SDK

These are reference pages for Google VR Unity API.

Classes

GvrActivityHelper
GvrAllEventsTrigger Exposes events from GvrEventExecutor that are fired by GvrPointerInputModule to the editor.
TriggerEvent
GvrArmModel The GvrArmModel is a standard interface to interact with a scene with the controller.
GvrAudio This is the main GVR audio class that communicates with the native code implementation of the audio system.
GvrAudioListener GVR audio listener component that enhances AudioListener to provide advanced spatial audio features.
GvrAudioRoom GVR audio room component that simulates environmental effects of a room with respect to the properties of the attached game object.
GvrAudioSoundfield GVR soundfield component that allows playback of first-order ambisonic recordings.
GvrAudioSource GVR audio source component that enhances AudioSource to provide advanced spatial audio features.
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.
GvrBaseControllerVisual
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.
GvrCardboardHelpers
GvrControllerInput Main entry point for the Daydream controller API.
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.
GvrFPS
GvrFollowControllerPose This script positions and rotates the transform that it is attached to according to a pose in the arm model.
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.
GvrKeyboard
GvrKeyboardDelegateBase
GvrKeyboardIntent
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
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
GvrTooltip A tooltip for displaying control schemes overlaying the controller visual using a Unity Canvas.
GvrTrackedController Represents an object tracked by controller input.
GvrUIHelpers
GvrUnitySdkVersion Provides and logs versioning information for the GVR Unity SDK.
GvrVideoPlayerTexture Plays video using Exoplayer rendering it on the main texture.

Interfaces

IGvrPointerHoverHandler Interface to implement if you wish to receive OnGvrPointerHover callbacks.

Structs

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