depthOfField property

DepthOfField depthOfField
final

Depth of field with bokeh. Off by default; set DepthOfField.enabled to turn it on. Requires a PerspectiveCamera (it reconstructs blur from camera depth); skipped otherwise.

Implementation

final DepthOfField depthOfField = DepthOfField();