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. The depth of field effect has a stronger sense of lens in the picture, which can focus the observer's attention on the focused area, and the large depth of field can create a macro model effect.
Members
-
Gets or sets the blur radius of out-of-focus.
-
Default Value:
10.0
-
Get or set the focal length of the camera, the user can click the area to automatically focus.
-
Default Value:
50.0
-
Get or set the range of the fully focused area, within which objects are completely clear and will not be blurred.
-
Default Value:
20.0
-
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
-
Get or set whether to enable the depth of field effect.
-
Default Value:
false