<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNText/font",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNText(py)font"
  },
  "title" : "font"
}
-->

# font

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

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

## Discussion

If the text geometry’s [`string`](/documentation/SceneKit/SCNText/string) property is an <doc://com.apple.documentation/documentation/Foundation/NSString> object, SceneKit uses this font to render the entire text. If the [`string`](/documentation/SceneKit/SCNText/string) property is an an <doc://com.apple.documentation/documentation/Foundation/NSAttributedString> object, SceneKit uses this font for any portions of the string not containing style attributes.

The default font is Helvetica 36 point.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)