---
title: chamferRadius
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnshape/chamferradius
---

# chamferRadius

The width or depth of each chamfered edge. Animatable.

## Declaration

```swift
var chamferRadius: CGFloat { get set }
```

## Discussion

Discussion The default value of zero specifies no chamfer (the extruded sides end at right angles to the front and back of the shape). Allowed values range from zero to half the extrusion depth. (At the maximum chamfer radius, the front chamfer ends where the back chamfer begins, as shown on the right in the figure below.)

You can animate changes to this property’s value. See Animating SceneKit Content.

## See Also

### Chamfering a Shape

- [chamferMode](scenekit/scnshape/chamfermode.md)
- [SCNChamferMode](scenekit/scnchamfermode.md)
- [chamferProfile](scenekit/scnshape/chamferprofile.md)
