<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXFrameInterpolatorBase/worldToViewMatrix",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLFXFrameInterpolatorBase(py)worldToViewMatrix"
  },
  "title" : "worldToViewMatrix"
}
-->

# worldToViewMatrix

The world-to-view transformation matrix this frame interpolator uses as part of its operation.

```
var worldToViewMatrix: simd_float4x4 { get set }
```

## Discussion

Set this and [`viewToClipMatrix`](/documentation/MetalFX/MTLFXFrameInterpolatorBase/viewToClipMatrix) to the matrices you use to render the scene into the color buffer. This frame
interpolator derives camera-only motion from the pair, and treats two identity matrices as “not supplied”.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)