Interface: DepthOfFieldPipelineConfiguration
Depth of Field is a post processing effect that blurs the scene based on distance from the camera.
Properties
blurLevel?
optionalblurLevel?:"Low"|"Medium"|"High"
The quality of the blur. Higher values will provide better quality but will be slower.
enabled?
optionalenabled?:boolean
focalLength?
optionalfocalLength?:number
The focal length of the camera, in millimeters.
focusDistance?
optionalfocusDistance?:number
The distance from the camera to the focus point.
fStop?
optionalfStop?:number
The f-stop of the camera. The diameter of the lens aperture will be calculated by lensSize / fStop.
lensSize?
optionallensSize?:number
The size of the lens, in millimeters. The diameter of the lens aperture will be calculated by lensSize / fStop.