Click or drag to resize

GCControllerDualShock4ExtensionGetVibration Method

Gets 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+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
  Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntax
C#
public float GetVibration(
	int motorIndex
)

Parameters

motorIndex  Int32
Motor index

Return Value

Single
Motor level [float: 0.0 - 1.0]

Implements

IControllerVibratorGetVibration(Int32)
See Also