Interface IFeedbackPattern
A sequence of feedback steps that together form a pattern (e.g. a double-tap or a ramp).
Namespace: Serenity.Feedback.Domain.Interfaces
Assembly: Serenity.Feedback.Domain.dll
Syntax
public interface IFeedbackPattern
Properties
Steps
Declaration
IReadOnlyList<FeedbackPatternStep> Steps { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<FeedbackPatternStep> | The ordered steps of the pattern. |
TotalDurationSeconds
Declaration
float TotalDurationSeconds { get; }
Property Value
| Type | Description |
|---|---|
| float | Total length, in seconds, of one playthrough of the pattern — the steps plus any trailing gap after the last step ends. Self-describing so a looping player can wait out that trailing gap (e.g. the off-time between duty-cycle pulses) before restarting, instead of jumping straight from the last step back into the first. |