perspective

fun perspective(fovY: Double, aspectRatio: Double, zNear: Double, zFar: Double)(source)

Sets the projection to a perspective projection matrix

fovY Y field of view in degrees aspectRatio lens aspect aspectRatio zNear The distance to the zNear clipping plane along the -Z axis. zFarThe distance to the zFar clipping plane along the -Z axis.

See also