---
title: controlPointStride
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4accelerationstructuremotioncurvegeometrydescriptor/controlpointstride
---

# controlPointStride

Sets the stride, in bytes, between control points in the control point buffer.

## Declaration

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

## Discussion

Discussion All keyframes share the same control point stride. You are responsible for ensuring this stride is a multiple of the control point format’s element size, and at a minimum exactly the control point format’s size. This property defaults to 0, indicating that the control points are tightly-packed.
