---
title: "init(fovY:aspectRatio:nearZ:farZ:reverseZ:)"
framework: spatial
role: symbol
role_heading: Initializer
path: "spatial/projectivetransform3dfloat/init(fovy:aspectratio:nearz:farz:reversez:)"
---

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

## Declaration

```swift
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

Return Value A projective transform with right-hand side perspective.

## Discussion

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