Skip to content

ITextStudioRevealState

InterfaceTextStudioTextStudio
public interface ITextStudioRevealState

Read-only reveal information exposed to character-substitution extensions.

bool IsGlyphRevealed(int glyphIndex)

Reports whether a visible glyph has crossed its reveal boundary.

Parameters

Name Type Description
glyphIndex System.Int32 Zero-based visible-glyph index.

Returns

System.Boolean: false for an invalid index.

float GetApproximateRevealTime(int glyphIndex)

Estimates when a visible glyph becomes revealed under current timing.

Parameters

Name Type Description
glyphIndex System.Int32 Zero-based visible-glyph index.

Returns

System.Single: Approximate seconds from reveal start, or 0 for an invalid index.