class HapticPattern

book_4_sparkGenerated
code_blocksInput

Description

The HapticPattern class in the Sandbox namespace represents a haptic pattern, which consists of frequency and amplitude values that can change over time. This class provides methods and properties to manipulate and retrieve haptic feedback patterns.

Members

Static Members

Member NameSummary
SoftImpactA haptic pattern that represents a light, soft impact.
HardImpactA haptic pattern that represents a hard, sudden impact.
RumbleA haptic pattern that represents a constant low-frequency rumble.
HeartbeatA haptic pattern that feels like a heartbeat.

Instance Members

Member NameSummary
LengthGets or sets the length of the haptic pattern.
FrequencyCurveGets or sets the frequency curve of the haptic pattern.
AmplitudeCurveGets or sets the amplitude curve of the haptic pattern.
PositionGets or sets the current position in the haptic pattern.
LengthScaleScales the length of the haptic pattern.
FrequencyScaleScales the frequency of the haptic pattern.
AmplitudeScaleScales the amplitude of the haptic pattern.
GetValueRetrieves the frequency and amplitude values at a specific time.
DeconstructDeconstructs the haptic pattern into its components.