logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Feedback.Tests.Domain

    Classes

    FeedbackIntensityTests

    Guards FeedbackIntensity clamping and the silence predicate that the channel and scaler rely on.

    FeedbackScalerTests

    Guards Scale(FeedbackIntensity, float, bool) — the single place global enable/intensity rules are applied to every impulse before it reaches a channel. These are the load-bearing contracts: disabling must silence, intensity must scale linearly, amplitudes must clamp, and duration must survive scaling so the auto-stop timer stays correct.

    In this article
    © 2026 Serenity. All Rights Reserved