---
title: radialSegmentCount
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scncapsule/radialsegmentcount
---

# radialSegmentCount

The number of subdivisions around the lateral circumference of the capsule. Animatable.

## Declaration

```swift
var radialSegmentCount: Int { get set }
```

## Discussion

Discussion A larger number of segments adds more vertex data to the geometry, creating a smoother curve for the capsule’s circular horizontal cross sections at a cost to rendering performance. The default segment count is 48. Setting this property’s value to a number less than 3 results in undefined behavior. You can animate changes to this property’s value. See Animating SceneKit Content.

## See Also

### Adjusting Geometric Detail

- [capSegmentCount](scenekit/scncapsule/capsegmentcount.md)
- [heightSegmentCount](scenekit/scncapsule/heightsegmentcount.md)
