TextStudio3DGlyphLibrary
public sealed class TextStudio3DGlyphLibrary : ScriptableObjectPersistent, 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.
Methods
Section titled “Methods”
SetPreparedImages(IReadOnlyList)
Section titled “SetPreparedImages(IReadOnlyList)”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} |
Constructors
Section titled “Constructors”
TextStudio3DGlyphLibrary()
Section titled “TextStudio3DGlyphLibrary()”public TextStudio3DGlyphLibrary()Properties
Section titled “Properties”
EntryCount
Section titled “EntryCount”public int EntryCount { get; }Number of prepared glyph meshes across all exact geometry variants.
Returns
System.Int32
VariantCount
Section titled “VariantCount”public int VariantCount { get; }Number of exact font, topology, and quality variants in this library.
Returns
System.Int32
EstimatedPayloadBytes
Section titled “EstimatedPayloadBytes”public long EstimatedPayloadBytes { get; }Estimated serialized mesh payload size, excluding Unity asset metadata.
Returns
System.Int64
UsesCurrentSchema
Section titled “UsesCurrentSchema”public bool UsesCurrentSchema { get; }True when this library was created by the current geometry generator format.
Returns
System.Boolean