Api Sandbox HapticPattern
class

HapticPattern

public class HapticPattern

Contains a haptic pattern, which consists of frequency and amplitude values that can change over time.

Constructors

HapticPattern(Single Length, Curve FrequencyCurve, Curve AmplitudeCurve)

Contains a haptic pattern, which consists of frequency and amplitude values that can change over time.

Properties

Name Type Description
Length Single
FrequencyCurve Curve
AmplitudeCurve Curve
Position Int32
SoftImpact static HapticPattern A haptic pattern that represents a light, soft impact.
HardImpact static HapticPattern A haptic pattern that represents a hard, sudden impact.
Rumble static HapticPattern A haptic pattern that represents a constant low-frequency rumble.
Heartbeat static HapticPattern A haptic pattern that feels like a heartbeat.

Methods

Void GetValue(Single t, Single frequency, Single amplitude)
virtual HapticPattern <Clone>$()
Void Deconstruct(Single Length, Curve FrequencyCurve, Curve AmplitudeCurve)

Fields

Name Type Description
LengthScale Single
FrequencyScale Single
AmplitudeScale Single
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.HapticPattern