Contents

chamferRadius

The width or depth of each chamfered edge. Animatable.

Declaration

var chamferRadius: CGFloat { get set }

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.)

[Image]

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

See Also

Chamfering a Shape