SpriteGlyph
The visual representation of the sprite character using this glyph.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEngine.TextCore.Text
- Assembly: UnityEngine.TextCoreTextEngineModule
- Inherits from: Glyph
public class SpriteGlyph : Glyph
Fields
Value | Description |
|---|---|
| sprite | An optional reference to the underlying sprite used to create this glyph. |
Constructors
Constructor | Description |
|---|---|
| SpriteGlyph() | Constructor for new sprite glyph. |
| SpriteGlyph(System.UInt32,UnityEngine.TextCore.GlyphMetrics,UnityEngine.TextCore.GlyphRect,System.Single,System.Int32) | Constructor for new sprite glyph. |
| SpriteGlyph(System.UInt32,UnityEngine.TextCore.GlyphMetrics,UnityEngine.TextCore.GlyphRect,System.Single,System.Int32,UnityEngine.Sprite) | Constructor for new sprite glyph. |