IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | Properties | List of all members
SteamVR_Controller.Device Class Reference

Public Member Functions

 Device (uint i)
 
VRControllerState_t GetState ()
 
VRControllerState_t GetPrevState ()
 
TrackedDevicePose_t GetPose ()
 
void Update ()
 
bool GetPress (ulong buttonMask)
 
bool GetPressDown (ulong buttonMask)
 
bool GetPressUp (ulong buttonMask)
 
bool GetPress (EVRButtonId buttonId)
 
bool GetPressDown (EVRButtonId buttonId)
 
bool GetPressUp (EVRButtonId buttonId)
 
bool GetTouch (ulong buttonMask)
 
bool GetTouchDown (ulong buttonMask)
 
bool GetTouchUp (ulong buttonMask)
 
bool GetTouch (EVRButtonId buttonId)
 
bool GetTouchDown (EVRButtonId buttonId)
 
bool GetTouchUp (EVRButtonId buttonId)
 
Vector2 GetAxis (EVRButtonId buttonId=EVRButtonId.k_EButton_SteamVR_Touchpad)
 
void TriggerHapticPulse (ushort durationMicroSec=500, EVRButtonId buttonId=EVRButtonId.k_EButton_SteamVR_Touchpad)
 
bool GetHairTrigger ()
 
bool GetHairTriggerDown ()
 
bool GetHairTriggerUp ()
 

Public Attributes

float hairTriggerDelta = 0.1f
 

Properties

uint index [get, set]
 
bool valid [get, set]
 
bool connected [get]
 
bool hasTracking [get]
 
bool outOfRange [get]
 
bool calibrating [get]
 
bool uninitialized [get]
 
SteamVR_Utils.RigidTransform transform [get]
 
Vector3 velocity [get]
 
Vector3 angularVelocity [get]
 

Detailed Description

Definition at line 32 of file SteamVR_Controller.cs.


The documentation for this class was generated from the following file: