logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct FeedbackPatternStep

    One step of a multi-pulse feedback pattern: an impulse plus the offset, in seconds, from the start of the pattern at which it should begin. v1 emits single-step patterns, but the shape lets richer patterns slot in without reshaping the API.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Feedback.Domain.ValueObjects
    Assembly: Serenity.Feedback.Domain.dll
    Syntax
    public readonly struct FeedbackPatternStep

    Constructors

    FeedbackPatternStep(FeedbackIntensity, float)

    Initializes a new instance of the FeedbackPatternStep struct.

    Declaration
    public FeedbackPatternStep(FeedbackIntensity intensity, float startOffsetSeconds)
    Parameters
    Type Name Description
    FeedbackIntensity intensity

    The impulse played by this step.

    float startOffsetSeconds

    Offset from the start of the pattern, in seconds.

    Fields

    Intensity

    Declaration
    public readonly FeedbackIntensity Intensity
    Field Value
    Type Description
    FeedbackIntensity

    The impulse played by this step.

    StartOffsetSeconds

    Declaration
    public readonly float StartOffsetSeconds
    Field Value
    Type Description
    float

    Offset from the start of the pattern at which this step begins, in seconds.

    In this article
    © 2026 Serenity. All Rights Reserved