jjzjj

frontFacingImageMaterial

全部标签

ios - SCNCylinder 上的设置内容(图像)被反转(翻转)

我尝试使用以下代码在SCNCylinder对象上渲染图像:letcoinGeometry=SCNCylinder(radius:50,height:55)coinNode=SCNNode(geometry:coinGeometry)coinNode.position=SCNVector3Make(0.0,25.0,25.0)coinScene.rootNode.addChildNode(coinNode)//AddimageoncylindershapeletfrontFacingImageMaterial=SCNMaterial()frontFacingImageMaterial.d