Click or drag to resize

DualShock4ExtensionSetVibration(Int32, Single, Boolean) Method

Sets vibration level for a motor at a specified index.

Namespace: Rewired.ControllerExtensions
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetVibration(
	int motorIndex,
	float motorLevel,
	bool stopOtherMotors
)

Parameters

motorIndex  Int32
Motor index
motorLevel  Single
Motor level [float: 0.0 - 1.0]
stopOtherMotors  Boolean
Stop other motors?

Implements

IControllerVibratorSetVibration(Int32, Single, Boolean)
See Also