Instance Property


The radius of the circular hole through the tube. Animatable.


@property(nonatomic) CGFloat innerRadius;


The tube is centered in its local coordinate system. For example, if a tube has an inner radius of 1.0, the cylindrical hole through its center extends from -0.5 to 0.5 along the x- and z-axes. The default inner radius is 0.25.

An inner radius of zero or less, or equal to or greater than the outer radius, creates an empty geometry.

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

See Also

Adjusting a Tube’s Dimensions


The radius of the tube’s outer circular cross section. Animatable.


The extent of the tube along its y-axis. Animatable.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software