Click or drag to resize

XboxOneGamepadExtensionPulseVibrateMotor Method

Pulses the vibration motor for a specified duration.

Namespace: Rewired.Platforms.XboxOne
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void PulseVibrateMotor(
	XboxOneGamepadMotorType motor,
	float startLevel,
	float endLevel,
	float duration
)

Parameters

motor  XboxOneGamepadMotorType
Motor type
startLevel  Single
Start motor level [float: 0.0 - 1.0]
endLevel  Single
End motor level [float: 0.0 - 1.0]
duration  Single
Duration in seconds
See Also