API reference

DragThresholdsConfig Class

Configures the drag thresholds, which are useful for distinguishing between press and drag and suppressing move pointer events when a poke interactor follows a pressing motion.

Fields

bool Enabled[Get]
float DragNormal[Get]
The distance a poke interactor must travel to be treated as a press, measured along the normal to the surface (in meters).
float DragTangent[Get]
The distance a poke interactor must travel to be treated as a press, measured along the tangent plane to the surface (in meters.
ProgressCurve DragEaseCurve[Get]
The curve that a poke interactor will use to ease when transitioning between a press and drag state.