This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Unity 1.24 Reference Guide

OVRTouchpad Class Reference

Interface class to a touchpad.

Object Data

enum
TouchState {
}
Native Touch State.

Events

static EventHandler
Occurs when touched.

Private Static Fields

static TouchState
static float
static Vector3
static float
static OVRTouchpadHelper

Static Public Member Functions

static void
Create ( )
Add the Touchpad game object into the scene.
static void
Update ( )
static void

Object Data

static void
HandleInput ( TouchState state, ref Vector2 move )
Determines if input was a click or swipe and sends message to all prescribers.
static void
HandleInputMouse ( ref Vector3 move )

Member Enumeration Documentation

enum OVRTouchpad.TouchEvent
Touch Type.
Enumerator
SingleTap
Left
Right
Up
Down

Object Data Documentation

enum OVRTouchpad.TouchState
Native Touch State.
Enumerator
Init
Down
Stationary
Move
Up

Event Documentation

EventHandler OVRTouchpad.TouchHandler ( )
Occurs when touched.

Private Static Field Documentation

TouchState OVRTouchpad.touchState ( )
float OVRTouchpad.minMovMagnitude ( )
Vector3 OVRTouchpad.moveAmountMouse ( )
float OVRTouchpad.minMovMagnitudeMouse ( )
OVRTouchpadHelper OVRTouchpad.touchpadHelper ( )

Static Member Function Documentation

static void OVRTouchpad.Create ( )
Add the Touchpad game object into the scene.
static void OVRTouchpad.Update ( )
static void OVRTouchpad.OnDisable ( )

Object Data Documentation

static void OVRTouchpad.HandleInput ( TouchState state, ref Vector2 move )
Determines if input was a click or swipe and sends message to all prescribers.
static void OVRTouchpad.HandleInputMouse ( ref Vector3 move )
The documentation for this class was generated from the following file: OVR/Scripts/OVRTouchpad.cs