Description
The RumbleRightTrigger
property is a static member of the HapticEffect
class in the Sandbox namespace. It provides a predefined haptic effect that applies a simple rumble to the right trigger of a controller. This effect can be used to enhance user interaction by providing tactile feedback through the right trigger.
Usage
To use the RumbleRightTrigger
property, you can directly access it from the HapticEffect
class since it is a static property. This property can be used in scenarios where you want to simulate a rumble effect on the right trigger of a game controller.
Example
// Example of using the RumbleRightTrigger property
// Access the RumbleRightTrigger haptic effect
HapticEffect rumbleEffect = HapticEffect.RumbleRightTrigger;
// Apply the haptic effect to a controller (assuming a method to apply exists)
// controller.ApplyHapticEffect(rumbleEffect);