ContourLoop
public struct ContourLoopA single closed contour loop (sequence of 2D points).
Fields
Section titled “Fields”
points
Section titled “points”public Vector2[] pointsReturns
UnityEngine.Vector2[]
pointCount
Section titled “pointCount”public int pointCountReturns
System.Int32
isClosed
Section titled “isClosed”public bool isClosedReturns
System.Boolean
sharpCorners
Section titled “sharpCorners”public bool[] sharpCornersOptional per-vertex flag marking sharp corners. A vertex is considered sharp when the turn angle between adjacent edges exceeds the threshold used by the outline provider (typically ~60° for TTF glyphs). Consumed by the bevel ring sweep to split normals and by the body to emit hard edges.
May be null — all downstream code must treat null as “no vertex is sharp”.
When non-null, length equals TextStudio.ThreeD.ContourLoop.points.Length.
Returns
System.Boolean[]
microChamferKinds
Section titled “microChamferKinds”public byte[] microChamferKindsOptional transient topology markers for geometry-generated micro-chamfers. A value of 1 marks the segment start and 2 marks its end. Outline providers normally leave this null; the bevel generator uses it to preserve the tiny segment’s width across offset rings.
Returns
System.Byte[]