---
title: curveType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4accelerationstructuremotioncurvegeometrydescriptor/curvetype
---

# curveType

Controls the curve type.

## Declaration

```swift
var curveType: MTLCurveType { get set }
```

## Discussion

Discussion Defaults to MTLCurveTypeRound. All keyframes share the same curve type.
