Click or drag to resize

GCControllerDualShock4ExtensionSetVibration(Int32, Single) Method

Sets vibration level for a motor at a specified index.

Namespace: Rewired.Platforms.Apple.GameController
Assemblies:  Rewired_AppleGameController (in Rewired_AppleGameController.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
  Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntax
C#
public void SetVibration(
	int motorIndex,
	float motorLevel
)

Parameters

motorIndex  Int32
Motor index
motorLevel  Single
Motor level [float: 0.0 - 1.0]

Implements

IControllerVibratorSetVibration(Int32, Single)
See Also