OrthographicLens

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

A lens for an orthographic (parallel) projection defined by a given set of clipping planes: left, right, bottom, top, near and far.

Constructors

Link copied to clipboard
fun OrthographicLens(    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