Glyph
Constructor for a new glyph.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Constructor
- Namespace: UnityEngine.TextCore
- Assembly: UnityEngine.TextCoreFontEngineModule
Glyph()
Constructor for a new glyph.
public Glyph()
Glyph(Glyph)
Constructor for a new glyph.
public Glyph(Glyph glyph)
Parameters
Glyph used as a reference for the new glyph.
Glyph(uint, GlyphMetrics, GlyphRect)
Constructor for a new glyph.
public Glyph(uint index, GlyphMetrics metrics, GlyphRect glyphRect)
Parameters
The index of the glyph in the font file.
The metrics of the glyph.
The GlyphRect defining the position of the glyph in the atlas texture.
Glyph(uint, GlyphMetrics, GlyphRect, float, int)
Constructor for a new glyph.
public Glyph(uint index, GlyphMetrics metrics, GlyphRect glyphRect, float scale, int atlasIndex)
Parameters
The index of the glyph in the font file.
The metrics of the glyph.
The GlyphRect defining the position of the glyph in the atlas texture.
The relative scale of the glyph.
The index of the atlas texture that contains the glyph.