Creates a tube geometry with the specified inner radius, outer radius, and height.
- iOS 8.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 3.0+
The radius of the tube’s circular central hole in the x- and z-axes of its local coordinate space.
The radius of the tube’s circular cross section in the x- and z-axes of its local coordinate space.
The height of the tube along the y-axis of its local coordinate space.
A new tube geometry.
The tube is centered in its local coordinate system. For example, if you create a tube whose outer radius is
5, inner radius is
1, and height is
10, its circular cross section extends from
5 along the x- and z-axes, the y-coordinates of its base and top are
5, and the hole through its center extends from
0 along the x- and z-axes.