class HapticEffect

book_4_sparkGenerated
code_blocksInput

Description

The HapticEffect class in the Sandbox namespace provides a way to define and manipulate haptic feedback patterns for controllers and triggers. It includes properties to adjust the amplitude, frequency, and length of the haptic feedback, as well as predefined static effects for common haptic sensations.

Members

Static Members

Member Name Summary
SoftImpact A haptic pattern that represents a light, soft impact.
HardImpact A haptic pattern that represents a hard, sudden impact.
Rumble Applies a simple rumble to the controller.
RumbleLeftTrigger Applies a simple rumble to the left trigger.
RumbleRightTrigger Applies a simple rumble to the right trigger.
Heartbeat A haptic effect that feels like a heartbeat.

Instance Members

Member Name Summary
AmplitudeScale Gets or sets the scale of the amplitude for the haptic effect.
FrequencyScale Gets or sets the scale of the frequency for the haptic effect.
LengthScale Gets or sets the scale of the length for the haptic effect.
ControllerPattern The haptic pattern applied to the controller.
LeftTriggerPattern The haptic pattern applied to the left trigger.
RightTriggerPattern The haptic pattern applied to the right trigger.