toSCNGeometry
Creates a SceneKit geometry from this mesh chunk's vertex positions, normals and triangle indices.
Declaration
func toSCNGeometry(material: SCNMaterial? = nil) -> SCNGeometry?
Summary
Returns
SCNGeometry representing the mesh.
Parameters
| Name | Type | Summary |
|---|---|---|
| material | SCNMaterial? | Optional material to apply to the resulting geometry. |
Creates a SceneKit geometry from this mesh chunk's vertex positions, normals and triangle indices.