<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/ProjectiveTransform3DFloat/init(fovY:aspectRatio:nearZ:farZ:reverseZ:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@F@SPProjectiveTransform3DFloatMakeWithRightHandPerspective#$@SA@SPAngleFloat#f#f#f#b#"
  },
  "title" : "init(fovY:aspectRatio:nearZ:farZ:reverseZ:)"
}
-->

# init(fovY:aspectRatio:nearZ:farZ:reverseZ:)

```
init(fovY: Angle2DFloat, aspectRatio: Float, nearZ: Float, farZ: Float, reverseZ: Bool)
```

## Parameters

`fovY`

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

`aspectRatio`

The aspect ratio.

`nearZ`

The near @p z .

`farZ`

The far @p z .

`reverseZ`

A Boolean value that specifies whether the matrix should use reverse 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)