Docsv3.31.0
Back to API Reference
Class

SpinModifier

Continuous rotation of each glyph around its center: rotation = (Phase·frequency + cluster·spread) full turns.

Nested Types

public float Frequency{ get; set }

Full turns per phase unit.

public float Spread{ get; set }

Turn offset between adjacent clusters.

protected string AttributeKey{ get }
protected override SpinModifier.Params ResolveParams(in RangeApplyContext context)
protected override void OnGlyph(UniTextMeshGenerator gen, int cluster, in SpinModifier.Params p, float phase)