class
DepthOfField
public sealed class DepthOfField : BasePostProcess<T> Applies a depth of field effect to the camera
Constructors
DepthOfField() Properties
| Name | Type | Description |
|---|---|---|
BlurSize | Single | How blurry to make stuff that isn't in focus. |
FocalDistance | Single | How far away from the camera to focus in world units. |
FocusRange | Single | This modulates how far is the blur to the image. |
FrontBlur | Boolean | Should we blur what's ahead the focal point towards us? |
BackBlur | Boolean | Should we blur what's behind the focal point? |
Methods
virtual Void Render()