logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class TransformRotationSequenceLayerSOTests

    Tests for TransformRotationSequenceLayerSO: early-return guards, effective-weight blending toward identity (0 degrees, see Weight's sibling convention on Weight), and the loop-seam "always increasing" wrap rule that lets a baked sequence read as one continuous spin instead of snapping backward at the wrap (see ResolveStepAngle's own remarks). Drives the layer directly via its public 3-delta Evaluate override with a crafted UnityProceduralContext — the same seam LayerAndActionSOTests/RuleSOTests use for their own deterministic layer coverage — rather than through reflection or an assembly-internal seam, since this assembly carries no InternalsVisibleTo friend for the ProceduralAnimator infrastructure assembly.

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

    Constructors

    TransformRotationSequenceLayerSOTests()

    Declaration
    public TransformRotationSequenceLayerSOTests()

    Methods

    DrivenChannels_IsTransformOnly()

    Declaration
    public void DrivenChannels_IsTransformOnly()

    Evaluate_InvalidTransformId_WritesNothing()

    Declaration
    public void Evaluate_InvalidTransformId_WritesNothing()

    Evaluate_LoopSeam_BlendsForwardPast360InsteadOfSnappingBackward()

    Declaration
    public void Evaluate_LoopSeam_BlendsForwardPast360InsteadOfSnappingBackward()

    Evaluate_LoopSeam_NearEndOfCycle_ApproachesFullTurn()

    Declaration
    public void Evaluate_LoopSeam_NearEndOfCycle_ApproachesFullTurn()

    Evaluate_LoopSeam_RestartsCleanlyAtZeroOnNextCycle()

    Declaration
    public void Evaluate_LoopSeam_RestartsCleanlyAtZeroOnNextCycle()

    Evaluate_MidStepBlend_LerpsTowardNextStep()

    Declaration
    public void Evaluate_MidStepBlend_LerpsTowardNextStep()

    Evaluate_NoSteps_WritesNothing()

    Declaration
    public void Evaluate_NoSteps_WritesNothing()

    Evaluate_NonLooping_LastStepBlendToNext_ClampedAtEnd_HoldsLastStepAngle()

    Declaration
    public void Evaluate_NonLooping_LastStepBlendToNext_ClampedAtEnd_HoldsLastStepAngle()

    Evaluate_OnActivate_LoopSeam_StillBlendsForwardPast360()

    Declaration
    public void Evaluate_OnActivate_LoopSeam_StillBlendsForwardPast360()

    Evaluate_PartialWeight_BlendsTowardIdentityZero()

    Declaration
    public void Evaluate_PartialWeight_BlendsTowardIdentityZero()

    Evaluate_SingleStep_WritesConstantAngleRegardlessOfTime()

    Declaration
    public void Evaluate_SingleStep_WritesConstantAngleRegardlessOfTime()

    Evaluate_WeightZero_WritesNothing()

    Declaration
    public void Evaluate_WeightZero_WritesNothing()

    TearDown()

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