IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
ViveControllerInputDevice Class Reference
Inheritance diagram for ViveControllerInputDevice:
Inheritance graph
[legend]
Collaboration diagram for ViveControllerInputDevice:
Collaboration graph
[legend]

Public Member Functions

InputDeviceManager.InputDeviceType getDeviceType ()
 
Ray createRay ()
 
Vector2 getTexCoordMovement ()
 
Vector3 getMovement ()
 
bool isLeftButtonDown ()
 
bool isRightButtonDown ()
 
bool isMiddleButtonDown ()
 
new void Start ()
 
ButtonInfo updateButtonInfo ()
 
Camera getEventCamera ()
 
Vector2 getTexCoordDelta ()
 
Vector3 get3DDelta ()
 
void setTexCoordDelta (Vector2 delta)
 
Vector2 getScrollDelta ()
 
- Public Member Functions inherited from Controller
void Start ()
 
void Update ()
 
bool hoverTouchpadCenter ()
 
bool hoverTouchpadLeft ()
 
bool hoverTouchpadRight ()
 
bool hoverTouchpadUp ()
 
bool hoverTouchpadDown ()
 
bool triggerPressed ()
 
float triggerValue ()
 
bool touchpadPressed ()
 
void shake (float seconds, float strength=1f)
 
void set3DDelta (Vector2 delta)
 
void setTouchpadCentralIcon (Sprite s)
 
void setTouchpadDirectionIcons (Sprite l, Sprite r, Sprite u, Sprite d)
 
void StartHapticVibration (float length, float strength)
 
void StopHapticVibration ()
 
- Public Member Functions inherited from InputDevice
void set3DDelta (Vector2 delta)
 

Additional Inherited Members

- Public Attributes inherited from Controller
Color iconColor = new Color( 0.7f, 0.85f, 1.0f )
 
Color iconColorHighlight = new Color( 0.85f, 1.0f, 0.85f )
 
- Protected Member Functions inherited from Controller
void UpdateTouchpad ()
 
PointerEventData.FramePressState UpdateTriggerState ()
 
PointerEventData.FramePressState UpdateTouchpadButton ()
 
IEnumerator HapticVibrationCoroutine (float length, float strength)
 
- Protected Attributes inherited from Controller
bool triggerPressedDown = false
 
bool helpState = false
 
Vector2 previousTouchpad = Vector2.zero
 
PointerEventData.FramePressState m_triggerButtonState = PointerEventData.FramePressState.NotChanged
 
PointerEventData.FramePressState m_touchpadButtonState = PointerEventData.FramePressState.NotChanged
 
Coroutine vibrationCoroutine
 
- Properties inherited from Controller
SteamVR_TrackedObject.EIndex controllerIndex [get]
 
Vector2 touchpadValue [get, set]
 
Vector2 touchpadDelta [get, set]
 
PointerEventData.FramePressState triggerButtonState [get]
 
PointerEventData.FramePressState touchpadButtonState [get]
 
Vector3 positionDelta [get, set]
 The movement of the controller since the previous frame in world space:
 

Detailed Description

Definition at line 6 of file ViveControllerInputDevice.cs.


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