I am able show SCNText in AR environment but when I tried to wrap the text in container of fixed width and height, instead showing it in multiple lines its getting overlapped.
let text = SCNText(string: ktext, extrusionDepth: 0.0)
text.name = "text"
text.firstMaterial?.diffuse.contents = color
text.font = UIFont(name: fontName, size: size)
text.truncationMode = kCAAlignmentCenter
text.isWrapped = true
text.truncationMode = kCATruncationMiddle
text.containerFrame.size = CGSize(width: 3, height: 1)
