API reference
API reference
Select your platform
No SDKs available
No versions available

OVRControllerTest Class

Extends MonoBehaviour
Helper/diagnostic class which reads controller state and serializes it to a Unity Text asset on a per-frame basis.
Rather than being bound to a specific controller, instances of this class invoke OVRInput.GetActiveController each frame to report information on whichever controller is currently considered active. Consequently, there is no reason to ever have more than one OVRControllerTest active at the same time.

Fields

The Unity Text object in which to display the results of the various tests this instance monitors.
BoolMonitor reflecting input state as well as specific controller information (battery percentage, position/orientation, etc.) are serialized to this text on a per-frame basis.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon