Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

LensCamera

Lucas Crane edited this page Aug 14, 2019 · 2 revisions

Extends PerspectiveCamera. This class models a thin lens to produce a photorealistic depth-of-field effect.

Constructor

LensCamera ( fov : Number, aspect: Number )

Properties

.aperture : Number

Specifies the size of the opening of the lens. Higher values result in less depth of field and more blurring for objects outside the focal point. Default is 0.01.

.focus : Number

Specifies the distance to the focal point. Objects away from this distance will be more out of focus. Default is 10.

Clone this wiki locally