|
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 () |
|
|
Color | iconColor = new Color( 0.7f, 0.85f, 1.0f ) |
|
Color | iconColorHighlight = new Color( 0.85f, 1.0f, 0.85f ) |
|
|
void | UpdateTouchpad () |
|
PointerEventData.FramePressState | UpdateTriggerState () |
|
PointerEventData.FramePressState | UpdateTouchpadButton () |
|
IEnumerator | HapticVibrationCoroutine (float length, float strength) |
|
|
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 |
|
|
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:
|
|
Definition at line 5 of file Controller.cs.
bool Controller.touchpadPressed |
( |
| ) |
|
|
inline |
Returns true if the touchpad is pressed down.
Definition at line 201 of file Controller.cs.
bool Controller.triggerPressed |
( |
| ) |
|
|
inline |
Returns true if the trigger is pressed down all the way.
Definition at line 180 of file Controller.cs.
float Controller.triggerValue |
( |
| ) |
|
|
inline |
Returns how far the controller's trigger is pressed (0 to 1)
Definition at line 193 of file Controller.cs.
PointerEventData.FramePressState Controller.m_touchpadButtonState = PointerEventData.FramePressState.NotChanged |
|
protected |
The state of the touchpad-click, i.e. is someone clicking on the touchpad or not?
Definition at line 47 of file Controller.cs.
PointerEventData.FramePressState Controller.m_triggerButtonState = PointerEventData.FramePressState.NotChanged |
|
protected |
The state of the trigger, i.e. is someone clicking the trigger or not?
Definition at line 40 of file Controller.cs.
The documentation for this class was generated from the following file:
- /var/www/test/server/website/imhotep/Assets/Core/Input/ViveController/Controller.cs