Docsv3.31.0
Back to API Reference
Class

FloatModifier

Slow two-axis drift on smooth noise — glyphs hover as if suspended in air. Low Params.spread makes neighbors drift together; high values decouple them.

Nested Types

public float Amplitude{ get; set }

Peak drift in pixels.

public float Frequency{ get; set }

Noise steps per phase unit.

public float Spread{ get; set }

Noise offset between adjacent clusters — drift coherence along the text.

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