element(at:)
Returns the geometry element at a specified index.
Declaration
func element(at elementIndex: Int) -> SCNGeometryElementParameters
- elementIndex:
The index of the geometry element.
Return Value
A geometry element.
Discussion
Each SCNGeometryElement object describes how vertices from the geometry’s sources are combined into polygons to create the geometry’s shape. Visible geometries contain at least one element.