---
title: boundingBoxStride
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4accelerationstructuremotionboundingboxgeometrydescriptor/boundingboxstride
---

# boundingBoxStride

Declares the stride, in bytes, between bounding boxes in the bounding box buffers each entry in boundingBoxBuffer references.

## Declaration

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

## Discussion

Discussion All keyframes share the same bounding box stride. You are responsible for ensuring this stride is at least 24 bytes and a multiple of 4 bytes. This property defaults to 24 bytes.
