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.GvrBetaControllerInput

Daydream controller beta API.

Summary

Public types

Configuration{
  Unknown = 0,
  Is3DoF = 1,
  Is6DoF = 2
}
enum
Daydream Controller configurations.
TrackingStatusFlags{
  Unknown = (1 << 0),
  Nominal = (1 << 1),
  Occluded = (1 << 2),
  OutOfFov = (1 << 3)
}
enum
Tracking status flags for Daydream 6DoF controllers.

Public types

Configuration

 Configuration

Daydream Controller configurations.

Matches the C API enum gvr_beta_controller_configuration_type.

Properties
Is3DoF

Daydream (3DoF) controller.

Is6DoF

Daydream 6DoF controller.

Unknown

Used when controller configuration is unknown.

TrackingStatusFlags

 TrackingStatusFlags

Tracking status flags for Daydream 6DoF controllers.

Although enum values are in practice currently mutually exclusive, returned values should be tested using bitwise tests.

Matches the C API enum gvr_beta_controller_tracking_status_flags.

Properties
Nominal

The controller is tracking in 6DoF mode.

Occluded

The 6DoF controller is occluded.

6DoF controllers report 3DoF pose and last-known position in this case.

OutOfFov

The controller is out of field of view.

6DoF controllers report 3DoF pose and last-known position in this case.

Unknown

The controller's tracking status is unknown.