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