Glyph.GlyphConstructor

Switch to Manual
public Glyph ();
public Glyph (TextCore.Glyph glyph);

Parameters

glyphGlyph used as a reference for the new glyph.
indexThe index of the glyph in the font file.
metricsThe metrics of the glyph.
glyphRectThe GlyphRect defining the position of the glyph in the atlas texture.
scaleThe relative scale of the glyph.
atlasIndexThe index of the atlas texture that contains the glyph.

Description

Constructor for a new glyph.