void StopAllVibrations()

robot_2Generated
code_blocksInput

Description

The StopAllVibrations method is a member of the VRController class within the Sandbox.VR namespace. This method is used to stop all ongoing vibration events on the VR controller. It is particularly useful when you need to ensure that no vibrations are active, for instance, when transitioning between different states in a VR application or when resetting the controller's state.

Usage

To use the StopAllVibrations method, you must have an instance of the VRController class. Once you have the instance, simply call the method to stop all vibrations:

Example

// Assuming 'controller' is an instance of VRController
controller.StopAllVibrations();