Instance Property


The thickness of the extruded shape along the z-axis. Animatable.


var extrusionDepth: CGFloat { get set }


The extruded shape is centered at the zero point of its z-axis. For example, an extrusion depth of 1.0 creates a shape that extends from -0.5 to 0.5 along the z-axis. An extrusion depth of zero creates a flat, one-sided shape.

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

See Also

Modifying a Shape

var path: UIBezierPath?

The two-dimensional path forming the basis of the shape.