EffectQuadOps
Static helpers for writing per-vertex effect data into a reserved effect-quad slot. Used from OnEmitQuad implementations; covers the common solid-colour + UV2 path and the per-vertex gradient path. Modifiers with bespoke requirements can skip these helpers and write the vertex arrays directly.
public static Color32 ModulateAlpha()Modulates an effect colour's alpha by the source face vertex alpha — the canonical formula keeping outline / shadow / extrude fades synchronised with face fades (Graphic.color.a, per-character <alpha>, ColorModifier alpha).
Evaluates a gradient at each of the four destination vertex positions and writes the per-vertex colours (alpha-modulated by the corresponding source face vertex alpha) plus the effect-mode UV2 stamp. Vertex positions are read from Vertices at destBaseIdx, so the caller controls whether the gradient sees pre-offset positions (write before ApplyOffset) or post-offset positions (write after).
