logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GraphicColorTargetInfo

    One registered UiColor target: the RectTransform its collected Slots were gathered under, the boundary predicate used to gather them, and the hierarchy staleness stamp that triggers a re-scan.

    Inheritance
    object
    GraphicColorTargetInfo
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.ProceduralAnimator.Infrastructure.Services
    Assembly: Serenity.UnityProceduralAnimator.Infrastructure.dll
    Syntax
    public sealed class GraphicColorTargetInfo

    Constructors

    GraphicColorTargetInfo()

    Declaration
    public GraphicColorTargetInfo()

    Fields

    HierarchyStamp

    UnityEngine.Transform.hierarchyCount at the last (re-)collection — a cheap staleness stamp for lazily-created slots (e.g. a STACK/SEGMENTED representation's Image slots, created at runtime).

    Declaration
    public int HierarchyStamp
    Field Value
    Type Description
    int

    IsForeignElementRoot

    The boundary predicate supplied at registration — returns true for a descendant transform that marks a DIFFERENT HUD element's own root, so this target's collection never reaches into a reparented sibling element's own Graphics. Forwarded to CollectOwn<T>(Transform, Transform, List<T>, Func<Transform, bool>) on every (re-)collection.

    Declaration
    public Func<Transform, bool> IsForeignElementRoot
    Field Value
    Type Description
    Func<Transform, bool>

    Root

    The root this target's Graphics were collected from (and are re-collected from on a re-scan).

    Declaration
    public RectTransform Root
    Field Value
    Type Description
    RectTransform

    Slots

    Every collected Graphic slot for this target, excluding any TMP_SubMeshUI (see Serenity.ProceduralAnimator.Infrastructure.Services.UnityGraphicColorApplier.CollectNewSlots(Serenity.ProceduralAnimator.Infrastructure.Services.GraphicColorTargetInfo)).

    Declaration
    public readonly List<GraphicColorSlot> Slots
    Field Value
    Type Description
    List<GraphicColorSlot>
    In this article
    © 2026 Serenity. All Rights Reserved