Back to API Reference
Class

CoverageMode

static

Coverage-mode codes written to TEXCOORD2.x. Must match UniText_Coverage.hlsl.

public static float WithCorner()

Packs a corner code into the mode: mode + 16 × code, where code is 0 (legacy perpendicular field), RoundCorners, or a Sharp miter limit quantized to 0.25 steps (1..8). Unallocated UV2 reads as 0 → Fill + legacy, so plain text is unaffected.

public static const float Fill
public static const float Stroke
public static const float Shadow
public static const float InnerShadow
public static const float RoundCorners

Corner code for round (Euclidean) corners; 0 = legacy perpendicular field (plain fill).