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

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

## Declaration

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

## 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 .

## Return Value

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

## Discussion

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