logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class 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.

    Inheritance
    object
    FeedbackScalerTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Feedback.Tests.Domain
    Assembly: Tests.dll
    Syntax
    public class FeedbackScalerTests

    Constructors

    FeedbackScalerTests()

    Declaration
    public FeedbackScalerTests()

    Methods

    Scale_ClampsGlobalIntensityAboveOne()

    Declaration
    public void Scale_ClampsGlobalIntensityAboveOne()

    Scale_ClampsGlobalIntensityBelowZero()

    Declaration
    public void Scale_ClampsGlobalIntensityBelowZero()

    Scale_ClampsInputAmplitudesBeforeScaling()

    Declaration
    public void Scale_ClampsInputAmplitudesBeforeScaling()

    Scale_MultipliesAmplitudesByGlobalIntensity()

    Declaration
    public void Scale_MultipliesAmplitudesByGlobalIntensity()

    Scale_PreservesDuration()

    Declaration
    public void Scale_PreservesDuration()

    Scale_WhenDisabled_IsSilent()

    Declaration
    public void Scale_WhenDisabled_IsSilent()

    Scale_WhenDisabled_PreservesDuration()

    Declaration
    public void Scale_WhenDisabled_PreservesDuration()
    In this article
    © 2026 Serenity. All Rights Reserved