logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GraphicColorSequenceLayerSOTests

    Tests for GraphicColorSequenceLayerSO: early-return guards, the cycles-gated hold-last-step behavior it shares with TransformPositionSequenceLayerSO (no wrap-seam unwrap — UnityEngine.Color.Lerp(UnityEngine.Color,UnityEngine.Color,System.Single) has no angular wraparound ambiguity, same as UnityEngine.Vector3.Lerp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)), and — the deliberate difference from every transform-facet sequence layer — that weight is written to the delta VERBATIM rather than pre-blended toward identity here (see Weight's own remarks: the applier performs the weight-blend, since a Graphic's base color is only known there). Drives the layer directly via its public 6-delta Evaluate override with a crafted UnityProceduralContext — the same seam TransformPositionSequenceLayerSOTests uses.

    Inheritance
    object
    GraphicColorSequenceLayerSOTests
    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 GraphicColorSequenceLayerSOTests

    Constructors

    GraphicColorSequenceLayerSOTests()

    Declaration
    public GraphicColorSequenceLayerSOTests()

    Methods

    DrivenChannels_IsUiColorOnly()

    Declaration
    public void DrivenChannels_IsUiColorOnly()

    Evaluate_FadeSequence_TintAlphaProgressesFromZeroToOne()

    Declaration
    public void Evaluate_FadeSequence_TintAlphaProgressesFromZeroToOne()

    Evaluate_InvalidTransformId_WritesNothing()

    Declaration
    public void Evaluate_InvalidTransformId_WritesNothing()

    Evaluate_Looping_LastStepBlendsBackToFirst_NoUnwrap()

    Declaration
    public void Evaluate_Looping_LastStepBlendsBackToFirst_NoUnwrap()

    Evaluate_MidStepBlend_LerpsTowardNextStep()

    Declaration
    public void Evaluate_MidStepBlend_LerpsTowardNextStep()

    Evaluate_NoSteps_WritesNothing()

    Declaration
    public void Evaluate_NoSteps_WritesNothing()

    Evaluate_NonLooping_LastStepBlendToNext_ClampedAtEnd_HoldsLastStepTint()

    Declaration
    public void Evaluate_NonLooping_LastStepBlendToNext_ClampedAtEnd_HoldsLastStepTint()

    Evaluate_OnActivate_AlwaysCycles_BlendsBackToFirstRegardlessOfLoopField()

    Declaration
    public void Evaluate_OnActivate_AlwaysCycles_BlendsBackToFirstRegardlessOfLoopField()

    Evaluate_PartialWeight_WritesWeightVerbatim_TintUnblended()

    Declaration
    public void Evaluate_PartialWeight_WritesWeightVerbatim_TintUnblended()

    Evaluate_SingleStep_WritesConstantTintRegardlessOfTime()

    Declaration
    public void Evaluate_SingleStep_WritesConstantTintRegardlessOfTime()

    Evaluate_WeightZero_WritesNothing()

    Declaration
    public void Evaluate_WeightZero_WritesNothing()

    TearDown()

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