Skip to content

Commit fcb3646

Browse files
author
Julia Schwarz
authored
Add poke pointer properties description
1 parent 73dd367 commit fcb3646

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/README_Pointers.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,20 @@ Poke pointer is for near interactions, specifically for touching objects via the
5858

5959
**NOTE:** Only items with _Near Interaction Touchable_ components will respond to the poke pointer.
6060

61+
#### Poke Pointer Properties
62+
- distBack - how far input point can go behind surface before release event occurs
63+
- distFront - how far input point needs to be in front of surface before press event occurs
64+
- debounceThreshold - once touching, the distance back hand needs to be pulled from surface before a touch release occurs.
65+
6166
#### Configuring NearInteractionTouchable
6267
When configuring your _Near Interaction Touchable_, make sure to configure the _localForward_ parameter to point out of the front of the button or other object you wish to make touchable. Also make sure that the touchable's _bounds_ matches the bounds of your touchable object.
6368

6469
Other parameters:
6570

6671
- eventsToReceive - if set to Touch, the object will receive _OnTouchDown_ _OnTouchUpdate_ and _OnTouchUp_ events. If set to pointer, the object will receive _OnPointerDown_ and _OnPointerUp_ events.
6772
- touchableSurface - use this to help compute the bounds of the surface. Bounds will automatically adjust to the attached BoxCollider, UnityUI element, or can be set manually by adjusting _bounds_.
73+
- visuals - Game Object used to render finger tip visual (the ring on finger, by default)
74+
- line - optional line to draw from fingertip to the active input surface.
6875

6976

7077

0 commit comments

Comments
 (0)