Skip to content

TextStudioWritingResolution

StructTextStudioTextStudio
public readonly struct TextStudioWritingResolution

One explicit deterministic result from the honest writing fallback ladder.

public Rect GetDesignBounds(in TextStudioVisualGlyph glyph)

Maps automatic glyph atlas coordinates into design space when both atlas scales are positive; otherwise returns prepared path bounds or an empty rectangle.

Parameters

NameType
glyphTextStudio.TextStudioVisualGlyph

Returns

UnityEngine.Rect

public TextStudioWritingDataLevel RequestedLevel { get; }

Returns

TextStudio.TextStudioWritingDataLevel

public TextStudioWritingDataLevel DataLevel { get; }

Returns

TextStudio.TextStudioWritingDataLevel

public TextStudioWritingSourceKind SourceKind { get; }

Returns

TextStudio.TextStudioWritingSourceKind

public TextStudioPreparedWritingPath Path { get; }

Returns

TextStudio.TextStudioPreparedWritingPath

public string DiagnosticCode { get; }

Returns

System.String

public bool IsFallback { get; }

Returns

System.Boolean

public bool HasPreparedPath { get; }

Returns

System.Boolean

public bool IsAutomatic { get; }

Returns

System.Boolean