alignmentMode
A constant that specifies how SceneKit horizontally aligns each line of text within its container.
Declaration
var alignmentMode: String { get set }Discussion
When you define a layout rectangle for the text using its containerFrame property, SceneKit uses the alignmentMode property to determine where each line of text is placed horizontally relative to the layout rectangle. For possible values, see doc://com.apple.documentation/documentation/quartzcore/horizontal-alignment-modes in CATextLayer.
The default value of this property is natural, specifying that text is aligned relative to the default alignment of its script. (For example, left-to-right languages are left-aligned.)