Back to API Reference
Enum
RenderOrder
Controls the rendering order of a sub-mesh relative to the base text pass.
Remarks
Canvas renders children in sibling order: later siblings appear visually on top.
CollectRenderData sorts UniTextRenderData segments by (order, sortIndex) so that base text always sits between underlay and overlay passes.public static readonly RenderOrder Under = 0Rendered before the base text (behind it).
public static readonly RenderOrder Base = 1The base text pass (SDF or emoji).
public static readonly RenderOrder Over = 2Rendered after the base text (in front of it).
