---
title: font
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scntext/font
---

# font

The font that SceneKit uses to create geometry from the text.

## Declaration

```swift
var font: UIFont! { get set }
```

```swift
var font: NSFont! { get set }
```

## Discussion

Discussion If the text geometry’s string property is an NSString object, SceneKit uses this font to render the entire text. If the string property is an an NSAttributedString object, SceneKit uses this font for any portions of the string not containing style attributes. The default font is Helvetica 36 point.

## See Also

### Managing the Geometry’s Text Content

- [string](scenekit/scntext/string.md)
