HapticPattern
(
amplitude
, duration
, frequency
)
|
Initializes a new instance of the HapticPattern struct.
Signature
Oculus.Interaction.Feedback.HapticPattern.HapticPattern(float amplitude, float duration, float frequency=0.5f) Parameters amplitude: float
Vibration strength (0-1).
duration: float
Duration in seconds.
frequency: float
Vibration frequency (0-1, interpretation varies).
|
_amplitude
: float |
The strength of the haptic vibration, typically from 0 (none) to 1 (full).
Signature
float Oculus.Interaction.Feedback.HapticPattern._amplitude |
_duration
: float |
The duration of the haptic vibration in seconds.
Signature
float Oculus.Interaction.Feedback.HapticPattern._duration |
_frequency
: float |
The frequency of the haptic vibration.
The interpretation of this value can vary by haptics SDK (e.g., specific Hz, or a normalized 0-1 value).
Signature
float Oculus.Interaction.Feedback.HapticPattern._frequency |