UIView作为iOS上的SCNMaterialProperty
在SceneKit场景中使用UIView
作为SCNMaterialProperty
时,该视图是否可以成为响应者链的一部分?
澄清如何:
omg_you_can_use_an_actual_uiview_now = UIView(frame: CGRect(x: 0, y: 0, width: 500, height: 500)) material_plane.diffuse.contents = omg_you_can_use_an_actual_uiview_now let geom_plane = SCNPlane(width: 1, height: 1) geom_plane.materials = [material_plane]