The extent of the capsule along its y-axis. 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, if a capsule has a height of
10, it extends from
5 along the y-axis. This property measures the total height of the capsule, including its hemispherical ends.
If the height is zero or less, or less than twice the cap radius, the geometry is empty. The default height is
You can animate changes to this property’s value. See Animating SceneKit Content.