---
title: "smoothstep(_:edge0:edge1:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/smoothstep(_:edge0:edge1:)-3gx0q"
---

# smoothstep(_:edge0:edge1:)

Returns an element-wise smoothly interpolated value between two vectors.

## Declaration

```swift
func smoothstep(_ x: SIMD4<Float>, edge0: SIMD4<Float>, edge1: SIMD4<Float>) -> SIMD4<Float>
```

## See Also

### Interpolation Functions

- [simd_mix(_:_:_:)](simd/simd_mix(_:_:_:)-5fpv1.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-2uufx.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-8qz2g.md)
- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-33ugy.md)
