API reference
API reference
Select your platform
No SDKs available
No versions available

DragThresholdsConfig Class

Configures the drag thresholds, which are useful for distinguishing between press and drag and suppressing move pointer events when a PokeInteractor follows a pressing motion.
This configuration can vary by instance and can be set either through the UnityEditor or by programmatically setting the PokeInteractable.DragThresholds property.

Fields

Sets whether or not this config block is enabled.
If disabled, all values will be ignored and default behavior will apply.
The distance a PokeInteractor must travel to be treated as a press, measured along the normal to the surface (in meters).
The distance a PokeInteractor must travel to be treated as a press, measured along the tangent plane to the surface (in meters
The curve that a PokeInteractor will use to ease when transitioning between a press and drag state.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon