logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct UiColorEntry

    Data container for a single UGUI Graphic tint change. Contains the target tint color and blend weight.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.ProceduralAnimator.Domain.Entities
    Assembly: Serenity.ProceduralAnimator.Domain.dll
    Syntax
    public struct UiColorEntry

    Constructors

    UiColorEntry(ColorRGBA, float)

    Creates a new UiColorEntry with the specified tint and weight.

    Declaration
    public UiColorEntry(ColorRGBA tint, float weight)
    Parameters
    Type Name Description
    ColorRGBA tint
    float weight

    Fields

    Tint

    The tint to multiply the target Graphic's base color by (white = no change).

    Declaration
    public ColorRGBA Tint
    Field Value
    Type Description
    ColorRGBA

    Weight

    Blend weight (0-1). Unlike Weight/Weight/ Weight, this IS read and applied by the applier (UnityGraphicColorApplier) — see UiColorDelta's own remarks for why this facet is the deliberate exception to "the writer pre-blends toward identity".

    Declaration
    public float Weight
    Field Value
    Type Description
    float
    In this article
    © 2026 Serenity. All Rights Reserved