FrustumLens

data class FrustumLens(    val left: Float,     val right: Float = -left,     val bottom: Float,     val top: Float = -bottom,     val near: Float,     val far: Float) : Lens

A lens for a perspective projection defined by a given frustum.

The frustum is defined by its near and far depth clipping planes, and its left, right, bottom and top clipping planes (specified at the near depth).

Constructors

Link copied to clipboard
fun FrustumLens(    left: Float,     right: Float = -left,     bottom: Float,     top: Float = -bottom,     near: Float,     far: Float)

Properties

Link copied to clipboard
val bottom: Float
Link copied to clipboard
val far: Float
Link copied to clipboard
val left: Float
Link copied to clipboard
val near: Float
Link copied to clipboard
open override val projectionMatrix: Mat4

Projection matrix defined by the lens.

Link copied to clipboard
val right: Float
Link copied to clipboard
val top: Float