You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/VRTK/Documentation/API.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1176,10 +1176,12 @@ Provides a custom controller hand model with psuedo finger functionality.
1176
1176
* **Pinky Axis Button:** The button type to listen for axis changes to control the pinky finger.
1177
1177
* **Three Finger Axis Button:** The button type to listen for axis changes to control the middle, ring and pinky finger.
1178
1178
* **Thumb State:** The Axis Type to utilise when dealing with the thumb state. Not all controllers support all axis types on all of the available buttons.
1179
+
* **Near Touch Overrides:** Finger axis overrides on an Interact NearTouch event.
1179
1180
* **Touch Overrides:** Finger axis overrides on an Interact Touch event.
1180
1181
* **Grab Overrides:** Finger axis overrides on an Interact Grab event.
1181
1182
* **Use Overrides:** Finger axis overrides on an Interact Use event.
1182
1183
* **Controller Events:** The controller to listen for the events on. If this is left blank as it will be auto populated by finding the Controller Events script on the parent GameObject.
1184
+
* **Interact Near Touch:** An optional Interact NearTouch to listen for near touch events on. If this is left blank as it will attempt to be auto populated by finding the Interact NearTouch script on the parent GameObject.
1183
1185
* **Interact Touch:** An optional Interact Touch to listen for touch events on. If this is left blank as it will attempt to be auto populated by finding the Interact Touch script on the parent GameObject.
1184
1186
* **Interact Grab:** An optional Interact Grab to listen for grab events on. If this is left blank as it will attempt to be auto populated by finding the Interact Grab script on the parent GameObject.
1185
1187
* **Interact Use:** An optional Interact Use to listen for use events on. If this is left blank as it will attempt to be auto populated by finding the Interact Use script on the parent GameObject.
Copy file name to clipboardExpand all lines: Assets/VRTK/Prefabs/Internal/Scripts/VRTK_AvatarHandController.cs
+51-5Lines changed: 51 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -155,6 +155,8 @@ public class VRTK_AvatarHandController : MonoBehaviour
155
155
156
156
[Header("Finger Axis Overrides")]
157
157
158
+
[Tooltip("Finger axis overrides on an Interact NearTouch event.")]
159
+
publicAxisOverridesnearTouchOverrides;
158
160
[Tooltip("Finger axis overrides on an Interact Touch event.")]
159
161
publicAxisOverridestouchOverrides;
160
162
[Tooltip("Finger axis overrides on an Interact Grab event.")]
@@ -166,6 +168,8 @@ public class VRTK_AvatarHandController : MonoBehaviour
166
168
167
169
[Tooltip("The controller to listen for the events on. If this is left blank as it will be auto populated by finding the Controller Events script on the parent GameObject.")]
168
170
publicVRTK_ControllerEventscontrollerEvents;
171
+
[Tooltip("An optional Interact NearTouch to listen for near touch events on. If this is left blank as it will attempt to be auto populated by finding the Interact NearTouch script on the parent GameObject.")]
172
+
publicVRTK_InteractNearTouchinteractNearTouch;
169
173
[Tooltip("An optional Interact Touch to listen for touch events on. If this is left blank as it will attempt to be auto populated by finding the Interact Touch script on the parent GameObject.")]
170
174
publicVRTK_InteractTouchinteractTouch;
171
175
[Tooltip("An optional Interact Grab to listen for grab events on. If this is left blank as it will attempt to be auto populated by finding the Interact Grab script on the parent GameObject.")]
0 commit comments