flatness
A number that determines the accuracy or smoothness of the text geometry.
Declaration
var flatness: CGFloat { get set }Discussion
SceneKit uses line segments to approximate the curved shapes of text characters when converting text into a three-dimensional geometry. (These segments become side polygons when SceneKit extrudes the text.) Higher flatness values result in fewer segments, reducing the smoothness of curves and improving rendering performance. Lower values result in more segments, increasing the smoothness of curves at a cost to rendering performance.
The default value of this property is 0.6, specifying that the line segments may not deviate from the curve by more than 0.6 points.