Struct UiColorEntry
Data container for a single UGUI Graphic tint change. Contains the target tint color and blend weight.
Inherited Members
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 |