init(fovyRadians:aspectRatio:nearZ:farZ:reverseZ:)
Returns a projective transform with right-hand-side perspective and optional reverse-z.
Declaration
init(fovyRadians: Double, aspectRatio: Double, nearZ: Double, farZ: Double, reverseZ: Bool)Parameters
- fovyRadians:
The field-of-view angle along the y-axis.
- aspectRatio:
The aspect ratio.
- 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.