Table of Contents

Method SetControllerVibration

Namespace
YVR.Core
Assembly
YVR.Core.Runtime.dll

SetControllerVibration(float, float, ControllerType)

Make specific controller vibrate at the set frequency and amplitude

public static void SetControllerVibration(float frequency, float amplitude, ControllerType controllerMask = ControllerType.Active)

Parameters

frequency float

Vibration frequency

amplitude float

Vibration amplitude

controllerMask ControllerType

Target controller

SetControllerVibration(float, float, float, ControllerType)

Make specific controller vibrate at the set frequency and amplitude

public static void SetControllerVibration(float frequency, float amplitude, float duration, ControllerType controllerMask = ControllerType.Active)

Parameters

frequency float

Vibration frequency

amplitude float

Vibration amplitude

duration float

Vibration duration

controllerMask ControllerType

Target controller