Instance Property

chamferRadius

The width or depth of each chamfered edge. Animatable.

Declaration

@property(nonatomic) CGFloat chamferRadius;

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

A constant specifying which ends of the extruded shape’s profile are chamfered.

SCNChamferMode

Options for which edges of an extruded shape are chamfered, used by the chamferMode property.

chamferProfile

A path that determines the cross-sectional contour of each chamfered edge.