---
title: "mix(_:_:t:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/mix(_:_:t:)-6c4d3"
---

# mix(_:_:t:)

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

## Declaration

```swift
func mix(_ x: SIMD3<Float>, _ y: SIMD3<Float>, t: SIMD3<Float>) -> SIMD3<Float>
```

## See Also

### Interpolation Functions

- [simd_mix(_:_:_:)](simd/simd_mix(_:_:_:)-6l1x8.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-9o58r.md)
- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-mz0x.md)
- [smoothstep(_:edge0:edge1:)](simd/smoothstep(_:edge0:edge1:)-6m76x.md)
