---
title: "setMatrix(_:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 3.1+]
path: "professional_video_applications/fxmatrix44/setmatrix(_:)"
---

# setMatrix(_:)

Sets the matrix to the specified values.

## Declaration

```swift
func setMatrix(_ newMatrix: UnsafeMutablePointer<(Double, Double, Double, Double)>!)
```

## Parameters

- `newMatrix`: The new matrix values.

## See Also

### Getting and Setting the Matrix

- [matrix()](professional_video_applications/fxmatrix44/matrix().md)
- [setToIdentity()](professional_video_applications/fxmatrix44/settoidentity().md)
