Vixen
02b45cc4
csharp
public sealed class TapInteraction

Acts on a release that came quickly enough after the press.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Held longer than and it cancels while still held rather than on release, so a tap and a hold bound to the same control do not both fire when the player meant the hold.

Fields and properties (1)

  • public string Name

    The name it is written under in a .vxinput.

Methods (3)

  • public TapInteraction(float duration = 0.2, float pressPoint = 0.5)

    Acts on a release that came quickly enough after the press.

  • 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