I'm making an AR application using Apple's ARKit, and I want to make wireframe outlines of boxes. The one described in the code and shown in the picture draws the hypotenuse on each face of the box. It also hides the corner on the opposite side of the box. Is there a way in Scene Kit so that I can get rid of the diagonal lines and make it so the box is transparent, showing all the edges and vertices?
let box:SCNNode = SCNNode(geometry: SCNBox(width: CGFloat(0.1), height: CGFloat(0.1), length: CGFloat(0.1), chamferRadius: CGFloat(0)))
box.geometry?.firstMaterial?.fillMode = .lines
box.geometry?.firstMaterial?.diffuse.contents = UIColor.green