Instance Property

extrusionDepth

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

Declaration

@property(nonatomic) CGFloat extrusionDepth;

Discussion

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

path

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