Skip to content

TextStudio3DGlyphLibrary

ClassTextStudio.ThreeDTextStudio.3D
public sealed class TextStudio3DGlyphLibrary : ScriptableObject

Persistent, material-neutral geometry for exact font, topology, and quality variants. A library can serve multiple fonts and styles without duplicating their shared identity data beside every glyph payload.

public void SetPreparedImages(IReadOnlyList<TextStudio3DPreparedGlyphImage> images)

Copies complete prepared images into this library. The library owns the serialized pixels, contours and solids independently of source assets.

Parameters

Name Type
images System.Collections.Generic.IReadOnlyList{TextStudio.ThreeD.TextStudio3DPreparedGlyphImage}

public TextStudio3DGlyphLibrary()

public int EntryCount { get; }

Number of prepared glyph meshes across all exact geometry variants.

Returns

System.Int32

public int VariantCount { get; }

Number of exact font, topology, and quality variants in this library.

Returns

System.Int32

public long EstimatedPayloadBytes { get; }

Estimated serialized mesh payload size, excluding Unity asset metadata.

Returns

System.Int64

public bool UsesCurrentSchema { get; }

True when this library was created by the current geometry generator format.

Returns

System.Boolean