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

NameType
eraseOnHideSystem.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

public float AppearanceDuration { get; }

Effective appearance duration in seconds of the owning reveal clock.

Returns

System.Single