geometryIndex
The index of the geometry element whose surface the search ray intersects.
Declaration
var geometryIndex: Int { get }Discussion
Every SCNGeometry object contains one or more SCNGeometryElement objects that define how its vertices connect to form a surface. This property provides the index of the geometry element intersecting the search ray. For more information about that geometry element, use the geometry’s element(at:) method.