csharp
public sealed class HoldInteractionActs once the control has been held for long enough, and not before.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Releasing early cancels, which is what lets a hold-to-confirm dialog be backed out of. Releasing after it has performed also cancels, because the action has ended — a listener that wants "still held" reads IsPressed.
Fields and properties (1)
public string NameThe name it is written under in a .vxinput.
Methods (3)
public HoldInteraction(float duration = 0.4, float pressPoint = 0.5)Acts once the control has been held for long enough, and not before.
public InputInteractionResult Process(in InputInteractionSample sample)Advances the interaction by one frame.
public void Reset()Forgets everything, as if the control had never been touched.
Used by (1)
- InputInteractionFactoryVixen.Input