---
title: edgeCreasesElement
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scngeometry/edgecreaseselement
---

# edgeCreasesElement

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

## Declaration

```swift
var edgeCreasesElement: SCNGeometryElement? { get set }
```

## Discussion

Discussion This geometry element’s primitiveType value must be SCNGeometryPrimitiveType.line. 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](scenekit/scngeometry/subdivisionlevel.md)
- [edgeCreasesSource](scenekit/scngeometry/edgecreasessource.md)
- [wantsAdaptiveSubdivision](scenekit/scngeometry/wantsadaptivesubdivision.md)
