Docsv3.30.0
Back to API Reference
Class

Field3DModifier

sealed
Inherits:Text3DRangeModifier<byte>

Glyphs of a range of extruded text that move, turn, scale and change colour inside UniText3DField volumes of the scene, each by how strongly the fields reach its centre — the game-world counterpart of a proximity effect.

Remarks

The text redraws whenever a field or the text moves or a field's settings change, and while glyphs ease toward their weights; a still scene costs nothing. Fields are scene objects, so the modifier reaches them only from the styles of a text in the same scene, never from a preset asset. Easing runs in Play Mode; the editor shows each glyph at its weight at once. On flat text it does nothing.
public Vector3 Offset{ get; set }

Movement of a fully reached glyph along the text's axes, in em; negative z comes toward the viewer.

public float Push{ get; set }

Movement of a fully reached glyph away from the field that reaches it, in em; negative pulls it in.

public Vector3 Rotation{ get; set }

Turn of a fully reached glyph about its centre, in degrees about the text's axes.

public float Scale{ get; set }

Scale of a fully reached glyph about its centre.

public float Depth{ get; set }

Multiplier of the extrusion of a fully reached glyph.

public Color Color{ get; set }

Colour a fully reached glyph takes, by its alpha: 0 keeps the glyph's own colour.

public float Smoothing{ get; set }

Time a glyph takes to ease most of the way to a new weight, in seconds; 0 follows at once.

public bool UnscaledTime{ get; set }

Whether glyphs ease by real time, which time scale and a paused game leave running, rather than game time.

protected override void OnEnable()
protected override void OnDisable()