setModeVibrationWithStartPosition(_:amplitude:frequency:)
Sets the mode to vibrate when the user depresses the trigger at the start position or at a greater value.
Declaration
func setModeVibrationWithStartPosition(_ startPosition: Float, amplitude: Float, frequency: Float)Parameters
- startPosition:
The effect’s start position. A value between
0and1, where0is the minimum and1is the maximum trigger depression. - amplitude:
The amplitude of the vibration effect. A value between
0and1, where0is the minimum and1is the maximum amplitude. - frequency:
The frequency of the vibration effect, which is a value between
0and1, where0is the minimum and1is the maximum frequency.
See Also
Configuring the trigger
setModeFeedbackWithStartPosition(_:resistiveStrength:)GCDualSenseAdaptiveTrigger.PositionalResistiveStrengthssetModeFeedback(resistiveStrengths:)setModeWeaponWithStartPosition(_:endPosition:resistiveStrength:)setModeVibration(amplitudes:frequency:)GCDualSenseAdaptiveTrigger.PositionalAmplitudessetModeSlopeFeedback(startPosition:endPosition:startStrength:endStrength:)