Description
The BackBlur
property of the DepthOfField
class determines whether the areas behind the focal point should be blurred. This property is part of the depth of field effect, which simulates the focus range of a camera lens, allowing for more realistic rendering of scenes by blurring objects that are not in focus.
Usage
To use the BackBlur
property, you need to have an instance of the DepthOfField
class. You can then set this property to true
or false
depending on whether you want to enable or disable the blurring of objects behind the focal point.
Example
// Create an instance of DepthOfField
DepthOfField depthOfField = new DepthOfField();
// Enable back blur
depthOfField.BackBlur = true;
// Disable back blur
// depthOfField.BackBlur = false;