Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在Metal编写的应用程序中,Swift我想从实例中提取SCNGeometry实例SCNScene以继续并构建MDLMesh。我没有看到提取几何图形的 API 调用(相机和灯光类似)。我该怎么做呢?
Metal
Swift
SCNGeometry
SCNScene
MDLMesh
迭代场景的根节点的子节点。对于每个节点,提取其geometry或camera属性(它可以同时具有)。请参阅SCNNode文档。
geometry
camera
SCNNode