# Glyph

> Constructor for a new glyph.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.TextCore](/engine/6000.7/script-reference/unityengine/textcore.md)
* **Assembly:** UnityEngine.TextCoreFontEngineModule

## Glyph()

Constructor for a new glyph.

```csharp
public Glyph()
```

## Glyph(Glyph)

Constructor for a new glyph.

```csharp
public Glyph(Glyph glyph)
```

### Parameters

**** (\[Glyph]\(/engine/6000.7/script-reference/unityengine/textcore/glyph)): Glyph used as a reference for the new glyph.

## Glyph(uint, GlyphMetrics, GlyphRect)

Constructor for a new glyph.

```csharp
public Glyph(uint index, GlyphMetrics metrics, GlyphRect glyphRect)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The index of the glyph in the font file.**** (\[GlyphMetrics]\(/engine/6000.7/script-reference/unityengine/textcore/glyphmetrics)): The metrics of the glyph.**** (\[GlyphRect]\(/engine/6000.7/script-reference/unityengine/textcore/glyphrect)): The GlyphRect defining the position of the glyph in the atlas texture.

## Glyph(uint, GlyphMetrics, GlyphRect, float, int)

Constructor for a new glyph.

```csharp
public Glyph(uint index, GlyphMetrics metrics, GlyphRect glyphRect, float scale, int atlasIndex)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The index of the glyph in the font file.**** (\[GlyphMetrics]\(/engine/6000.7/script-reference/unityengine/textcore/glyphmetrics)): The metrics of the glyph.**** (\[GlyphRect]\(/engine/6000.7/script-reference/unityengine/textcore/glyphrect)): The GlyphRect defining the position of the glyph in the atlas texture.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The relative scale of the glyph.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the atlas texture that contains the glyph.
