Skip to main content

Interface: DepthOfFieldPipelineConfiguration

Depth of Field is a post processing effect that blurs the scene based on distance from the camera.

Properties​

blurLevel?​

optional blurLevel?: "Low" | "Medium" | "High"

The quality of the blur. Higher values will provide better quality but will be slower.


enabled?​

optional enabled?: boolean


focalLength?​

optional focalLength?: number

The focal length of the camera, in millimeters.


focusDistance?​

optional focusDistance?: number

The distance from the camera to the focus point.


fStop?​

optional fStop?: number

The f-stop of the camera. The diameter of the lens aperture will be calculated by lensSize / fStop.


lensSize?​

optional lensSize?: number

The size of the lens, in millimeters. The diameter of the lens aperture will be calculated by lensSize / fStop.