Table of Contents

Method Vibrate

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Vibrate(VibratorMotor, float, TimeSpan)

Vibrates the player's device or controller. Does nothing if vibration is not supported.

public void Vibrate(VibratorMotor motor, float strength, TimeSpan duration)

Parameters

motor VibratorMotor

Which motors to vibrate.

strength float

The intensity of the vibration.

duration TimeSpan

How long to vibrate for.