Vixen
02b45cc4
csharp
public readonly record struct XrHapticPulse

What to play on a haptic action.

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

Fields and properties (4)

  • public TimeSpan Duration

    How long for. Zero asks the runtime for its minimum.

  • public float Frequency

    In hertz, or 0 to let the runtime choose.

  • public float Amplitude

    From 0 to 1.

  • public static XrHapticPulse Click

    A short click, which is what most feedback actually is.

Methods (1)

  • public XrHapticPulse(TimeSpan Duration, float Frequency = 0, float Amplitude = 1)

    What to play on a haptic action.

Used by (4)

  • IXrSessionVixen.Xr
  • NullXrBackendTestsVixen.Xr.Tests
  • NullXrSessionVixen.Xr
  • OpenXrSessionVixen.Xr.OpenXR