font
The font that SceneKit uses to create geometry from the text.
Declaration
var font: UIFont! { get set }var font: NSFont! { get set }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.