Instance Property

chamferProfile

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

Declaration

iOS, Mac Catalyst, tvOS, watchOS
@property(nonatomic, copy) UIBezierPath *chamferProfile;
macOS
@property(nonatomic, copy) NSBezierPath *chamferProfile;

Discussion

The value of this property must be a two-dimensional path starting at the point {1, 0} and ending at the point {0, 1}, determining the contour of the shape along its extruded sides, as illustrated in the figure below. If the value of this property is nil and the value of the chamferRadius property is greater than zero, SceneKit uses a chamfer profile in the shape of a quarter circle.

Figure 1

Example chamfer profile curves and their effects

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.

chamferRadius

The width or depth of each chamfered edge. Animatable.