Version: 2020.2
言語: 日本語

Glyph

class in UnityEngine.TextCore

マニュアルに切り替える

説明

A Glyph is the visual representation of a text element or character.

変数

atlasIndexThe index of the atlas texture that contains this glyph.
glyphRectA rectangle that defines the position of a glyph within an atlas texture.
indexThe index of the glyph in the source font file.
metricsThe metrics that define the size, position and spacing of a glyph when performing text layout.
scaleThe relative scale of the glyph. The default value is 1.0.

コンストラクタ

GlyphConstructor for a new glyph.

Public 関数

CompareCompares two glyphs to determine if they have the same values.