November 6, 2019 update:
  • There's a new open source Cardboard SDK for iOS and Android NDK that offers a streamlined API, improved device compatibility, and built-in viewer profile QR code scanning. A corresponding Unity package (SDK) is planned for a future release. We recommend that all developers actively building for Google Cardboard migrate (iOS, Android NDK) to the new Cardboard SDK.
October 15, 2019 update:
  • The Daydream View VR headset is no longer available for purchase. However, you can continue to use the existing Google VR SDK to update and distribute your apps to the Google Play Store, and make them available to users in the Daydream app.

GoogleVR.Beta

Daydream Beta API.

Summary

This API surface is for experimental purposes and may change or be removed in any future release without forewarning.

Enumerations

GvrBetaFeature{
  SeeThrough = 1001
}
enum
Types of Daydream features that the user can enable or disable at runtime.
GvrBetaSeeThroughCameraMode{
  Disabled = 0,
  RawImage = 1,
  ToneMap = 2
}
enum
The different supported appearances that determine how see-through camera frames will be drawn.
GvrBetaSeeThroughSceneType{
  Virtual = 0,
  Augmented = 1
}
enum
The different scene types that an app can have.

Classes

GoogleVR.Beta.GvrBetaControllerInput

Daydream controller beta API.

GoogleVR.Beta.GvrBetaControllerVisualMulti

A beta library for multiple 6DoF controller visuals.

GoogleVR.Beta.GvrBetaHeadset

Daydream headset beta API.

GoogleVR.Beta.GvrBetaSettings

Daydream beta settings API.

GoogleVR.Beta.GvrControllerInputDeviceExtension

Class extension for GvrControllerInputDevice to add beta tracking status getter.

Enumerations

GvrBetaFeature

 GvrBetaFeature

Types of Daydream features that the user can enable or disable at runtime.

Matches the C API enum gvr_runtime_feature.

Properties
SeeThrough

The see-through feature.

GvrBetaSeeThroughCameraMode

 GvrBetaSeeThroughCameraMode

The different supported appearances that determine how see-through camera frames will be drawn.

Matches the C API enum gvr_beta_see_through_camera_mode.

Properties
Disabled

The default behavior where no camera frames will be drawn.

RawImage

The monochrome image will be shown as a grayscale image.

A theoretical color image will be shown in color.

ToneMap

The monochrome image will be mapped to a blue to orange to white color gradient.

GvrBetaSeeThroughSceneType

 GvrBetaSeeThroughSceneType

The different scene types that an app can have.

These control where the scene is rendered from. Generally in a virtual scene the scene should be rendered from the users' eyes while an augmented scene should be rendered from the camera's position to match the see-through images. More details can be found in the online developer documentation.

Properties
Augmented

Augmented scene type with virtual objects.

This represents a scene that is primarily see-through with sparse virtual objects inside the real environment. Head poses are adjusted based on camera geometry to make virtual objects track properly with the real environment.

Virtual

Virtual scene type.

This represents a scene either composed entirely of virtual objects with no see-through or a scene that is primarily virtual with small cut outs for see-through. No head pose adjustments are applied with this scene type.