AI-generated Key Takeaways
-
This documentation provides code and interfaces for interacting with Daydream controllers in your VR applications.
-
The
ControllerManager
class manages the connection to a physical Daydream controller and provides access to its state. -
The
Controller
class represents a single Daydream controller and exposes its properties, such as orientation, battery level, and connection state. -
Developers can use the provided interfaces and classes to receive events related to the controller, such as button presses and connection changes, allowing them to build interactive VR experiences.
Code for interacting with Daydream controllers.
Interfaces
ControllerManager.EventListener | Receives VR Service events related to the Daydream controller. |
Classes
Controller | Class representing a single Daydream controller. |
Controller.BatteryLevels | Constants that represent the controller battery level. |
Controller.BetaTrackingStatusFlags | Integer bit map for tracking status of one controller in trackingStatusFlags . |
Controller.ConnectionStates | Constants that represent the controller's states. |
Controller.EventListener | Listens for various classes of events related to the Controller. |
ControllerManager | ControllerManager manages the connection to a physical Daydream controller. |
ControllerManager.ApiStatus | Constants that represent the status of the controller API. |
Orientation | Represents the 3-dimensional orientation of a Controller as a unit Quaternion. |