Skip to content

TextStudioGlyphTransition

StructTextStudioTextStudio
public readonly struct TextStudioGlyphTransition

Canonical Typewriter state for one shaped text unit, independent of its renderer.

public float GetWritingProgress(bool eraseOnHide)

Drawing coverage for this unit. Hide optionally erases from the coverage at hide start.

Parameters

Name Type
eraseOnHide System.Boolean

Returns

System.Single

public bool Visible { get; }

Returns

System.Boolean

public AnimationPhase Phase { get; }

Returns

TextStudio.AnimationPhase

public float RevealProgress { get; }

Returns

System.Single

public float HideProgress { get; }

Returns

System.Single