Battle Talent  V11
Public Types | Public Member Functions | Public Attributes | List of all members
CrossLink.VRTKInputDevice Class Reference

Public Types

enum class  ControllerType {
  Undefined , OculusTouchController , ViveController , ValveIndexController ,
  WMRSpatialController , PicoNeoController , PSVR2SenseController
}
 Controller Type More...
 
enum class  ControlHand { right , left }
 

Public Member Functions

float GetAxis1D (VRTKInputButton.ButtonType button)
 
Vector2 GetAxis2D (VRTKInputButton.ButtonType button)
 
bool GetPressDown (VRTKInputButton.ButtonType button)
 
bool GetPressUp (VRTKInputButton.ButtonType button)
 
bool GetPress (VRTKInputButton.ButtonType button)
 
bool GetTouchDown (VRTKInputButton.ButtonType button)
 
bool GetTouchUp (VRTKInputButton.ButtonType button)
 
bool GetTouch (VRTKInputButton.ButtonType button)
 
void TriggerHapticPulse (ushort durationMicroSec=500)
 

Public Attributes

InputDevice controllerReference
 
XRNode controlNode
 

Member Enumeration Documentation

◆ ControllerType

Controller Type