This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
Daydream controller beta API.
Summary
Public types
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003e\u003ccode\u003eGoogleVR.Beta.GvrBetaControllerInput\u003c/code\u003e provides a beta API specifically designed for interacting with Daydream controllers.\u003c/p\u003e\n"],["\u003cp\u003eIt offers support for both 3DoF and 6DoF Daydream controllers through the \u003ccode\u003eConfiguration\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrackingStatusFlags\u003c/code\u003e enum allows developers to check the tracking status of 6DoF controllers, including nominal tracking, occlusion, and out-of-field-of-view states.\u003c/p\u003e\n"],["\u003cp\u003eWhen a 6DoF controller is occluded or out of view, it will report its last known position and a 3DoF pose.\u003c/p\u003e\n"]]],["The provided content outlines the GoogleVR.Beta.GvrBetaControllerInput API for Daydream controllers. It defines two key enums: `Configuration` and `TrackingStatusFlags`. `Configuration` specifies controller types: `Is3DoF`, `Is6DoF`, and `Unknown`. `TrackingStatusFlags` details the tracking quality for 6DoF controllers, including `Nominal` (fully tracked), `Occluded`, `OutOfFov` (both reporting 3DoF and last-known position), and `Unknown`. Bitwise tests should be used to check `TrackingStatusFlags`.\n"],null,["# GoogleVR.Beta.GvrBetaControllerInput Class Reference\n\nGoogleVR.Beta.GvrBetaControllerInput\n====================================\n\nDaydream controller beta API.\n\nSummary\n-------\n\n| ### Public types ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [Configuration](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1afa30349c16464f85732b22c48620d4c3)`{` ` `[Unknown](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1afa30349c16464f85732b22c48620d4c3a88183b946cc5f0e8c96b2e66e1c74a7e)` = 0,` ` `[Is3DoF](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1afa30349c16464f85732b22c48620d4c3a6a372b61b335c4242916399679b94090)` = 1,` ` `[Is6DoF](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1afa30349c16464f85732b22c48620d4c3a5e7e7c0835043c3ea364138fd58e085b)` = 2` `}` | enum Daydream Controller configurations. |\n| [TrackingStatusFlags](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1aa7ff58edfe72d2857f70c05c75a8297f)`{` ` `[Unknown](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1aa7ff58edfe72d2857f70c05c75a8297fa88183b946cc5f0e8c96b2e66e1c74a7e)` = (1 \u003c\u003c 0),` ` `[Nominal](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1aa7ff58edfe72d2857f70c05c75a8297fa8c28d7c312116b8a46e2f466cb33d5b4)` = (1 \u003c\u003c 1),` ` `[Occluded](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1aa7ff58edfe72d2857f70c05c75a8297fa40deec4b6f036b28681fc864b1e31de3)` = (1 \u003c\u003c 2),` ` `[OutOfFov](#classGoogleVR_1_1Beta_1_1GvrBetaControllerInput_1aa7ff58edfe72d2857f70c05c75a8297fab652b47d8a5eb86b82e10cf6ed13479c)` = (1 \u003c\u003c 3)` `}` | enum Tracking status flags for Daydream 6DoF controllers. |\n\nPublic types\n------------\n\n### Configuration\n\n```c#\n Configuration\n``` \nDaydream Controller configurations.\n\nMatches the C API enum `gvr_beta_controller_configuration_type`.\n\n| Properties ||\n|-----------|------------------------------------------------|\n| `Is3DoF` | Daydream (3DoF) controller. |\n| `Is6DoF` | Daydream 6DoF controller. |\n| `Unknown` | Used when controller configuration is unknown. |\n\n### TrackingStatusFlags\n\n```c#\n TrackingStatusFlags\n``` \nTracking status flags for Daydream 6DoF controllers.\n\nAlthough enum values are in practice currently mutually exclusive, returned values should be tested using bitwise tests.\n\nMatches the C API enum `gvr_beta_controller_tracking_status_flags`.\n\n| Properties ||\n|------------|-----------------------------------------------------------------------------------------------------------------|\n| `Nominal` | The controller is tracking in 6DoF mode. |\n| `Occluded` | The 6DoF controller is occluded. 6DoF controllers report 3DoF pose and last-known position in this case. |\n| `OutOfFov` | The controller is out of field of view. 6DoF controllers report 3DoF pose and last-known position in this case. |\n| `Unknown` | The controller's tracking status is unknown. |"]]