csharp
public readonly record struct XrHapticPulseWhat 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 DurationHow long for. Zero asks the runtime for its minimum.
public float FrequencyIn hertz, or 0 to let the runtime choose.
public float AmplitudeFrom 0 to 1.
public static XrHapticPulse ClickA 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