Back to API Reference
Class

WorldHighlightRenderer

World-space TextHighlightRenderer — wraps a child GameObject with MeshFilter + MeshRenderer and builds quads from rects directly into a dynamic Mesh. One shared material (Highlight) serves every instance; color travels through vertex colors.

Remarks

Z-ordering against the owning text and other world renderers uses the sorting system (sortingLayerID + sortingOrder) so highlights interleave correctly with SpriteRenderer, other UniTextWorld instances and the UniTextWorldBatcher meshes on the same layer.
public Color Color{ get; set }
[ctor]public WorldHighlightRenderer()
public override void SetRects()
public override void Clear()
public override void Destroy()