---
title: segmentControlPointCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4accelerationstructuremotioncurvegeometrydescriptor/segmentcontrolpointcount
---

# segmentControlPointCount

Controls the number of control points per curve segment.

## Declaration

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

## Discussion

Discussion Valid values for this property are 2, 3, or 4. All keyframes have the same number of control points per curve segment.
