logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ProceduralLayerWeightSchedulerTests

    PlayMode tests for ProceduralLayerWeightScheduler: seeding from a resolved configuration, the first-tick snap, blend-in and blend-out ramps driven by a rule, the lazily stamped ON_ACTIVATE layer clock, and auto-deactivation once a repeat window elapses.

    Inheritance
    object
    ProceduralLayerWeightSchedulerTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityProceduralAnimator.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class ProceduralLayerWeightSchedulerTests

    Constructors

    ProceduralLayerWeightSchedulerTests()

    Declaration
    public ProceduralLayerWeightSchedulerTests()

    Methods

    Activate_AfterAStamp_RestartsTheLayerClock()

    Declaration
    public void Activate_AfterAStamp_RestartsTheLayerClock()

    Activate_SnapsToFullWeightWithoutWaitingForABlend()

    Declaration
    public void Activate_SnapsToFullWeightWithoutWaitingForABlend()

    AddRuntimeLayers_AlreadyTracked_LeavesTheCurrentWeightAlone()

    Declaration
    public void AddRuntimeLayers_AlreadyTracked_LeavesTheCurrentWeightAlone()

    AddRuntimeLayers_StartInactive_TracksTheLayerSilently()

    Declaration
    public void AddRuntimeLayers_StartInactive_TracksTheLayerSilently()

    Blend_AfterTheFirstCall_RampsAtTheRuleBlendInSpeed()

    Declaration
    public void Blend_AfterTheFirstCall_RampsAtTheRuleBlendInSpeed()

    Blend_FirstCall_SnapsInsteadOfRamping()

    Declaration
    public void Blend_FirstCall_SnapsInsteadOfRamping()

    Blend_TowardZero_RampsAtTheRuleBlendOutSpeed()

    Declaration
    public void Blend_TowardZero_RampsAtTheRuleBlendOutSpeed()

    DeactivateLayersPastTheirRepeatWindow_AfterTheLastRepeat_SilencesTheLayer()

    Declaration
    public void DeactivateLayersPastTheirRepeatWindow_AfterTheLastRepeat_SilencesTheLayer()

    DeactivateLayersPastTheirRepeatWindow_LayerWithNoNaturalEnd_LoopsForever()

    Declaration
    public void DeactivateLayersPastTheirRepeatWindow_LayerWithNoNaturalEnd_LoopsForever()

    DeactivateLayersPastTheirRepeatWindow_MidSequence_LeavesTheLayerRunning()

    Declaration
    public void DeactivateLayersPastTheirRepeatWindow_MidSequence_LeavesTheLayerRunning()

    DeactivateLayersPastTheirRepeatWindow_RepeatCountZero_LoopsForever()

    Declaration
    public void DeactivateLayersPastTheirRepeatWindow_RepeatCountZero_LoopsForever()

    Deactivate_SnapsToZeroWithoutWaitingForABlend()

    Declaration
    public void Deactivate_SnapsToZeroWithoutWaitingForABlend()

    ResetAll_SilencesEveryLayerAndDropsTheActivationStamps()

    Declaration
    public void ResetAll_SilencesEveryLayerAndDropsTheActivationStamps()

    Seed_KeepsNullEntriesSoEvaluationOrderMatchesTheConfiguration()

    Declaration
    public void Seed_KeepsNullEntriesSoEvaluationOrderMatchesTheConfiguration()

    Seed_LayerWithoutControllingRule_IsReported()

    Declaration
    public void Seed_LayerWithoutControllingRule_IsReported()

    Seed_LayerWithoutControllingRule_StartsAtFullWeight()

    Declaration
    public void Seed_LayerWithoutControllingRule_StartsAtFullWeight()

    Seed_RuleControlledLayer_StartsSilentAndIsNotReported()

    Declaration
    public void Seed_RuleControlledLayer_StartsSilentAndIsNotReported()

    SetRuleDrivenTargetWeight_UntrackedLayer_IsIgnored()

    Declaration
    public void SetRuleDrivenTargetWeight_UntrackedLayer_IsIgnored()

    SetTargetWeight_ClampsExternallySuppliedValues()

    Declaration
    public void SetTargetWeight_ClampsExternallySuppliedValues()

    SetUp()

    Declaration
    public void SetUp()

    StampActivationAndResolveLayerTime_FirstCall_ReturnsExactlyZero()

    Declaration
    public void StampActivationAndResolveLayerTime_FirstCall_ReturnsExactlyZero()

    StampActivationAndResolveLayerTime_LaterCalls_MeasureFromTheFirstStamp()

    Declaration
    public void StampActivationAndResolveLayerTime_LaterCalls_MeasureFromTheFirstStamp()

    SummarizeActiveWeights_CountsOnlyLayersCarryingWeight()

    Declaration
    public void SummarizeActiveWeights_CountsOnlyLayersCarryingWeight()

    TearDown()

    Declaration
    public void TearDown()

    TryGetWeight_UntrackedLayer_ReportsMissingRatherThanZero()

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