---
title: MeshResource.Font
framework: realitykit
role: symbol
role_heading: Type Alias
path: realitykit/meshresource/font
---

# MeshResource.Font

A platform-specific type that represents a font for use in generating a text mesh.

## Declaration

```swift
typealias Font = UIFont
```

```swift
typealias Font = NSFont
```

## See Also

### Text generation options

- [MeshResource.GenerateTextOptions](realitykit/meshresource/generatetextoptions.md)
