The radius both of the capsule’s circular center cross section and of its hemispherical ends. Animatable.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The capsule is centered in its local coordinate system. For example, the cylindrical body of a capsule of radius
5 extends from
5 along the x- and z-axes.
If the cap radius is zero or less, or greater than half the capsule’s height, the geometry is empty. The default cap radius is
You can animate changes to this property’s value. See Animating SceneKit Content.