Instance Property

edgeCreasesElement

The geometry element identifying which edges of the geometry’s surface should remain sharp after subdivision.

Declaration

@property(nonatomic, retain) SCNGeometryElement *edgeCreasesElement;

Discussion

This geometry element’s primitiveType value must be SCNGeometryPrimitiveTypeLine. The geometry element’s data is an array of vertex indices, each pair of which defines a line segment identifying an edge to be treated as a crease during subdivision. Use the edgeCreasesSource property to specify the smoothness or sharpness of each crease.

See Also

Smoothing and Subdividing Geometry

subdivisionLevel

The number of subdivisions SceneKit uses to smooth the geometry’s surface at render time.

edgeCreasesSource

The geometry source specifying the smoothness or sharpness of edges after surface subdivision.