This site has been archived and remains strictly as a historical reference for developers who actively maintain apps built using the legacy Google VR SDK, which was last updated in 2019 and is no longer receiving updates.
  • All developers actively developing experiences for Google Cardboard should use the new open source Cardboard SDKs for iOS, Android NDK, and Unity XR Plugin. These new SDKs offer streamlined APIs, improved device compatibility, and built-in viewer profile QR code scanning.
  • The Daydream View VR headset is no longer available for purchase as of October 15, 2019. Existing apps on supported devices are unaffected for users who previously installed those applications. It is no longer possible to opt-in to Daydream distribution via Google Play.
Stay organized with collections Save and categorize content based on your preferences.

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.