OrthographicLens

data class OrthographicLens(left: Float, right: Float, bottom: Float, top: Float, near: Float, 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

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

Properties

bottom
Link copied to clipboard
common
val bottom: Float
far
Link copied to clipboard
common
val far: Float
left
Link copied to clipboard
common
val left: Float
near
Link copied to clipboard
common
val near: Float
projectionMatrix
Link copied to clipboard
common
open override val projectionMatrix: Mat4
Projection matrix defined by the lens.
right
Link copied to clipboard
common
val right: Float
top
Link copied to clipboard
common
val top: Float