Class PokeThresholdData
The settings used to fine tune the vector and offsets which dictate how the poke interaction will be evaluated.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Filtering
Assembly: solution.dll
Syntax
[Serializable]
public class PokeThresholdData
Properties
| Name | Description |
|---|---|
| enablePokeAngleThreshold | When enabled, the filter will check that a poke action is started and moves within the poke angle threshold along the poke direction axis. |
| interactionDepthOffset | Distance along the poke interactable interaction axis that allows for a poke to be triggered sooner/with less precision. |
| pokeAngleThreshold | The maximum allowed angle (in degrees) from the poke direction axis that will trigger a select interaction. Only used when enablePokeAngleThreshold is enabled. |
| pokeDirection | The axis along which the poke interaction will be constrained. |
Methods
| Name | Description |
|---|---|
| GetSelectEntranceVectorDotThreshold() | This returns the dot-product threshold value based on the pokeAngleThreshold configured. Only used when enablePokeAngleThreshold is enabled. |