logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityMaterialApplierTests

    PlayMode tests for UnityMaterialApplier. Validates target registration bookkeeping and that Apply against a real Renderer with a real Material does not throw and respects guard clauses.

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

    Constructors

    UnityMaterialApplierTests()

    Declaration
    public UnityMaterialApplierTests()

    Methods

    Apply_EmptyDelta_DoesNotThrow()

    Declaration
    public void Apply_EmptyDelta_DoesNotThrow()

    Apply_NullDelta_DoesNotThrow()

    Declaration
    public void Apply_NullDelta_DoesNotThrow()

    Apply_RegisteredTarget_AppliesColorWithoutThrowing()

    Declaration
    public void Apply_RegisteredTarget_AppliesColorWithoutThrowing()

    Apply_UnregisteredId_IgnoredAndDoesNotThrow()

    Declaration
    public void Apply_UnregisteredId_IgnoredAndDoesNotThrow()

    Apply_ZeroWeight_LeavesPropertyBlockEmpty()

    Declaration
    public void Apply_ZeroWeight_LeavesPropertyBlockEmpty()

    ClearPropertyBlocks_DoesNotThrow()

    Declaration
    public void ClearPropertyBlocks_DoesNotThrow()

    ClearTargets_RemovesAll()

    Declaration
    public void ClearTargets_RemovesAll()

    RegisterTarget_IncrementsCount()

    Declaration
    public void RegisterTarget_IncrementsCount()

    RegisterTarget_NullRenderer_NotRegistered()

    Declaration
    public void RegisterTarget_NullRenderer_NotRegistered()

    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