コンテンツにスキップ

OverlayVibration クラス

Triggers haptic feedback from the laser mouse associated with an overlay.

名前空間: FloatSoda.OVR.Overlay
アセンブリ: FloatSoda.OVR.dll

public sealed class OverlayVibration

object ← OverlayVibration

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Triggers haptic feedback from the laser mouse associated with an overlay.

public OverlayVibration(ulong overlayHandle)

overlayHandle ulong

The overlay handle to control.

Triggers a haptic vibration.

public void Trigger(TimeSpan duration, float frequency, float amplitude)

duration TimeSpan

How long the vibration lasts.

frequency float

The vibration frequency in hertz.

amplitude float

The vibration amplitude.

Triggers a predefined vibration clip.

public void Trigger(VibrationClip clip)

clip VibrationClip

The vibration parameters to use.