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 poke interactor follows a pressing motion.

Overview

Data Fields

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

Details

Fields

bool Oculus.Interaction.PokeInteractable.DragThresholdsConfig.Enabled
No description available.
float Oculus.Interaction.PokeInteractable.DragThresholdsConfig.DragNormal
The distance a poke interactor must travel to be treated as a press, measured along the normal to the surface (in meters).
float Oculus.Interaction.PokeInteractable.DragThresholdsConfig.DragTangent
The distance a poke interactor must travel to be treated as a press, measured along the tangent plane to the surface (in meters.
ProgressCurve Oculus.Interaction.PokeInteractable.DragThresholdsConfig.DragEaseCurve
The curve that a poke interactor will use to ease when transitioning between a press and drag state.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon