Vixen
02b45cc4
csharp
public readonly record struct InputInteractionSample

What a binding looked like on one frame.

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

Fields and properties (3)

  • public bool IsActuated

    Whether it is past its press point.

  • public float Magnitude

    How far it is from rest, [0, ∞).

  • public double Time

    The time now, in seconds, from a clock that only goes forward.

Methods (1)

  • public InputInteractionSample(bool IsActuated, float Magnitude, double Time)

    What a binding looked like on one frame.

Used by (9)

  • HoldInteractionVixen.Input
  • IInputInteractionVixen.Input
  • InputActionVixen.Input
  • MultiTapInteractionVixen.Input
  • PassThroughInteractionVixen.Input
  • PressInteractionVixen.Input
  • SlowTapInteractionVixen.Input
  • TapInteractionVixen.Input
  • ValueInteractionVixen.Input