PerspectiveLens
data class PerspectiveLens( val fovY: Angle, val aspect: Float, val near: Float, val far: Float) : Lens
Content copied to clipboard
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 field of view angle in the Y direction and aspect ratio between X and Y field of view.
Constructors
Link copied to clipboard
fun PerspectiveLens( fovY: Angle, aspect: Float, near: Float, far: Float)
Content copied to clipboard