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
Type: Rewired.Platforms.XboxOneXboxOneGamepadMotorType
Motor type
startLevel
Type: SystemSingle
Start motor level [float: 0.0 - 1.0]
endLevel
Type: SystemSingle
End motor level [float: 0.0 - 1.0]
duration
Type: SystemSingle
Duration in seconds
See Also