iOS 上的 UIView 作为 SCNMaterialProperty

Geo*_*f H 5 uikit ios scenekit swift

当在 SceneKit 场景中使用UIViewas 时,该视图可以成为响应者链的一部分吗?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]
Run Code Online (Sandbox Code Playgroud)