<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CATransform3DInvert(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:@F@CATransform3DInvert"
  },
  "title" : "CATransform3DInvert(_:)"
}
-->

# CATransform3DInvert(_:)

Inverts `t` and returns the result.

```
func CATransform3DInvert(_ t: CATransform3D) -> CATransform3D
```

## Discussion

Returns the original matrix if `t` has no inverse.

---

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)