Class DepthOfField
This class holds settings for the Depth of Field effect.
Inherited Members
Namespace: UnityEngine .Rendering.PostProcessing
Assembly: solution.dll
Syntax
[Serializable]
public sealed class DepthOfField : PostProcessEffectSettings
Fields
Name | Description |
---|---|
aperture | The ratio of the aperture (known as f-stop or f-number). The smaller the value is, the shallower the depth of field is. |
focal |
The distance between the lens and the film. The larger the value is, the shallower the depth of field is. |
focus |
The distance to the point of focus. |
kernel |
The convolution kernel size of the bokeh filter, which determines the maximum radius of bokeh. It also affects the performance (the larger the kernel is, the longer the GPU time is required). |
Methods
Name | Description |
---|---|
Is |
Returns |