csharp
public sealed class PressInteractionThe default: acts the moment the control is actuated.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
What an action with no interactions written on it gets. A press performs and starts on the same frame, and cancels on release, so WasPressedThisFrame and WasReleasedThisFrame both mean what their names say.
Fields and properties (1)
public string NameThe name it is written under in a .vxinput.
Methods (3)
public PressInteraction(float pressPoint = 0.5)The default: acts the moment the control is actuated.
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 (2)
- InputActionVixen.Input
- InputInteractionFactoryVixen.Input