<!--
{
  "availability" : [
    "iOS: 16.0.0 - 18.0.0",
    "iPadOS: 16.0.0 - 18.0.0",
    "macCatalyst: 16.0.0 - 18.0.0",
    "macOS: 13.0.0 - 15.0.0",
    "tvOS: 16.0.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0",
    "watchOS: 9.0.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/ProjectiveTransform3D/init(fovyRadians:aspectRatio:nearZ:farZ:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@F@SPProjectiveTransform3DMakeWithRightHandPerspective#d#d#d#d#"
  },
  "title" : "init(fovyRadians:aspectRatio:nearZ:farZ:)"
}
-->

# init(fovyRadians:aspectRatio:nearZ:farZ:)

```
init(fovyRadians: Double, aspectRatio: Double, nearZ: Double, farZ: Double)
```

## Parameters

`fovyRadians`

The field of view angle on the @p y axis.

`aspectRatio`

The aspect ratio.

`nearZ`

The near @p z .

`farZ`

The far @p z .

## Return Value

A projective transform with right-hand side perspective.

## Discussion\abstract Returns a projective transform with right-hand side perspective.

---

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)