logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityTransformApplierTests

    PlayMode tests for UnityTransformApplier. Registers real Transforms and asserts localScale after applying TransformDeltas (scale is applied as a multiplier against the cached original scale).

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

    Constructors

    UnityTransformApplierTests()

    Declaration
    public UnityTransformApplierTests()

    Methods

    Apply_EmptyDeltaAfterScaleAndRotation_RestoresBothFacets_NoExplicitReset()

    Declaration
    public void Apply_EmptyDeltaAfterScaleAndRotation_RestoresBothFacets_NoExplicitReset()

    Apply_EmptyDelta_DoesNothing()

    Declaration
    public void Apply_EmptyDelta_DoesNothing()

    Apply_NullDelta_DoesNotThrow()

    Declaration
    public void Apply_NullDelta_DoesNotThrow()

    Apply_OneTargetDestroyed_AllowPositionTrue_SurvivingTargetPositionStillAppliedWithoutThrow()

    Declaration
    public void Apply_OneTargetDestroyed_AllowPositionTrue_SurvivingTargetPositionStillAppliedWithoutThrow()

    Apply_OneTargetDestroyed_SurvivingTargetStillAppliedWithoutThrow()

    Declaration
    public void Apply_OneTargetDestroyed_SurvivingTargetStillAppliedWithoutThrow()

    Apply_PositionEntryDisappears_RestoresOriginalExactlyOnce()

    Declaration
    public void Apply_PositionEntryDisappears_RestoresOriginalExactlyOnce()

    Apply_PositionEntry_AllowPositionFalse_NeverWritesPositionEvenWithEntry()

    Declaration
    public void Apply_PositionEntry_AllowPositionFalse_NeverWritesPositionEvenWithEntry()

    Apply_PositionEntry_DefaultRegisterTarget_AllowPositionDefaultsFalse()

    Declaration
    public void Apply_PositionEntry_DefaultRegisterTarget_AllowPositionDefaultsFalse()

    Apply_PositionOffset_AllowPositionTrue_WritesOffsetFromOriginal()

    Declaration
    public void Apply_PositionOffset_AllowPositionTrue_WritesOffsetFromOriginal()

    Apply_RotationOnly_LeavesScaleAtOriginal()

    Declaration
    public void Apply_RotationOnly_LeavesScaleAtOriginal()

    Apply_ScaleAndRotationSameTarget_BothApplyIndependently()

    Declaration
    public void Apply_ScaleAndRotationSameTarget_BothApplyIndependently()

    Apply_ScaleMultiplier_MultipliesOriginalScale()

    Declaration
    public void Apply_ScaleMultiplier_MultipliesOriginalScale()

    Apply_SlowSpin_AdvancesEveryStepWithoutStalling()

    Declaration
    public void Apply_SlowSpin_AdvancesEveryStepWithoutStalling()

    Apply_UndrivenTarget_AllowPositionTrue_NeverWritesPosition()

    Declaration
    public void Apply_UndrivenTarget_AllowPositionTrue_NeverWritesPosition()

    Apply_UnregisteredId_IgnoredAndDoesNotThrow()

    Declaration
    public void Apply_UnregisteredId_IgnoredAndDoesNotThrow()

    Apply_ZRotation_RotatesAroundZFromOriginal()

    Declaration
    public void Apply_ZRotation_RotatesAroundZFromOriginal()

    CacheOriginalScales_AllowPositionTrue_ClearsLatchAndPicksUpNewBasePosition()

    Declaration
    public void CacheOriginalScales_AllowPositionTrue_ClearsLatchAndPicksUpNewBasePosition()

    CacheOriginalScales_PicksUpNewBaseScale()

    Declaration
    public void CacheOriginalScales_PicksUpNewBaseScale()

    ClearTargets_RemovesAll()

    Declaration
    public void ClearTargets_RemovesAll()

    RecachePositionBaselines_DrivenTarget_RecoversBaselineFromExternalMove()

    Declaration
    public void RecachePositionBaselines_DrivenTarget_RecoversBaselineFromExternalMove()

    RecachePositionBaselines_UndrivenTarget_IsAPlainRecache()

    Declaration
    public void RecachePositionBaselines_UndrivenTarget_IsAPlainRecache()

    RegisterTarget_IncrementsTargetCount()

    Declaration
    public void RegisterTarget_IncrementsTargetCount()

    RegisterTarget_NullTransform_NotRegistered()

    Declaration
    public void RegisterTarget_NullTransform_NotRegistered()

    ResetToOriginals_AllowPositionFalse_NeverTouchesPositionEvenIfSomehowDriven()

    Declaration
    public void ResetToOriginals_AllowPositionFalse_NeverTouchesPositionEvenIfSomehowDriven()

    ResetToOriginals_AllowPositionTrue_Driven_RestoresPosition()

    Declaration
    public void ResetToOriginals_AllowPositionTrue_Driven_RestoresPosition()

    ResetToOriginals_AllowPositionTrue_Undriven_NeverTouchesPosition()

    Declaration
    public void ResetToOriginals_AllowPositionTrue_Undriven_NeverTouchesPosition()

    ResetToOriginals_RestoresCachedRotation()

    Declaration
    public void ResetToOriginals_RestoresCachedRotation()

    ResetToOriginals_RestoresCachedScale()

    Declaration
    public void ResetToOriginals_RestoresCachedScale()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    UnregisterTarget_RemovesTarget()

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