API ReferenceSandbox
HapticEffectclass
Contains a haptic effect, which consists of patterns for the controller and triggers.
object→HapticEffect
Constructors2
Showing 2 constructors
No results match this filter.
Methods2
Showing 2 methods
public virtual Sandbox.HapticEffect <Clone>$()
protected virtual bool PrintMembers(System.Text.StringBuilder builder)
| Parameter | Type | Description |
|---|---|---|
| builder | StringBuilder | — |
Returns:
bool—No results match this filter.
Properties10
Showing 10 properties
public float Sandbox.HapticEffect.AmplitudeScale { get; set; }
Returns:
float—protected virtual System.Type Sandbox.HapticEffect.EqualityContract { get; set; }
public float Sandbox.HapticEffect.FrequencyScale { get; set; }
Returns:
float—public static Sandbox.HapticEffect Sandbox.HapticEffect.HardImpact { get; set; }
A haptic pattern that represents a hard, sudden impact.
public static Sandbox.HapticEffect Sandbox.HapticEffect.Heartbeat { get; set; }
A haptic effect that feels like a heartbeat.
public float Sandbox.HapticEffect.LengthScale { get; set; }
Returns:
float—public static Sandbox.HapticEffect Sandbox.HapticEffect.Rumble { get; set; }
Applies a simple rumble to the controller.
public static Sandbox.HapticEffect Sandbox.HapticEffect.RumbleLeftTrigger { get; set; }
Applies a simple rumble to the left trigger.
public static Sandbox.HapticEffect Sandbox.HapticEffect.RumbleRightTrigger { get; set; }
Applies a simple rumble to the right trigger.
public static Sandbox.HapticEffect Sandbox.HapticEffect.SoftImpact { get; set; }
A haptic pattern that represents a light, soft impact.
No results match this filter.