Click or drag to resize

PlayerSetVibration Method (Int32, Single)

Sets vibration level for a motor at a specified index in all Joysticks assigned to the Player.

Namespace:  Rewired
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
)

Parameters

motorIndex
Type: SystemInt32
Motor index
motorLevel
Type: SystemSingle
Motor level [float: 0.0 - 1.0]
See Also