<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/ProjectiveTransform3D/init(leftTangent:rightTangent:topTangent:bottomTangent:nearZ:farZ:reverseZ:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@F@SPProjectiveTransform3DMakeFromTangents#d#d#d#d#d#d#b#"
  },
  "title" : "init(leftTangent:rightTangent:topTangent:bottomTangent:nearZ:farZ:reverseZ:)"
}
-->

# init(leftTangent:rightTangent:topTangent:bottomTangent:nearZ:farZ:reverseZ:)

Returns a projective transform from tangents for each side of its frustum.

```
init(leftTangent: Double, rightTangent: Double, topTangent: Double, bottomTangent: Double, nearZ: Double, farZ: Double, reverseZ: Bool)
```

## Parameters

`leftTangent`

The positive left tangent.

`rightTangent`

The positive right tangent.

`topTangent`

The positive top tangent.

`bottomTangent`

The positive bottom tangent.

`nearZ`

The distance to the near clipping plane.

`farZ`

The distance to the far clipping plane.

`reverseZ`

A Boolean value that specifies whether the matrix uses reverse z.

---

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)