DepthOfFieldEffect

new Cesium.DepthOfFieldEffect()

Depth of field effect class. The depth of field effect is to simulate the optical imaging effect of the camera. The image in the focused area is relatively clear, and the image in the area away from the focus is gradually blurred. Depth of Field Effect If the picture has a stronger sense of lens, it can focus the observer's attention on the focused area, and the large depth of field can shape the effect of the macro model.

Members

staticCesium.DepthOfFieldEffect.blurRadius : Number

Gets or sets the blur radius out of focus.
Default Value: 10.0

staticCesium.DepthOfFieldEffect.focalDistance : Number

Get or set the focal length of the camera, the user can click on the area to automatically focus.
Default Value: 50.0

staticCesium.DepthOfFieldEffect.focalRange : Number

Get or set the range of the fully focused area. The objects in this range are completely clear and will not be blurred.
Default Value: 20.0

staticCesium.DepthOfFieldEffect.fStop : Number

Get or set the aperture F value of the camera lens, the smaller the value, the shallower the depth of field.
Default Value: 2.8

staticCesium.DepthOfFieldEffect.show : Boolean

Gets or sets whether to enable the depth of field effect.
Default Value: false