API ReferenceSandbox
public sealed class Sandbox.DepthOfField : Sandbox.BasePostProcess<T>
Applies a depth of field effect to the camera
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
public DepthOfField()
No results match this filter.
Methods
Showing 1 methods
public virtual void Render()
No results match this filter.
Properties
Showing 5 properties
public bool Sandbox.DepthOfField.BackBlur { get; set; }
Should we blur what's behind the focal point?
public float Sandbox.DepthOfField.BlurSize { get; set; }
How blurry to make stuff that isn't in focus.
public float Sandbox.DepthOfField.FocalDistance { get; set; }
How far away from the camera to focus in world units.
public float Sandbox.DepthOfField.FocusRange { get; set; }
This modulates how far is the blur to the image.
public bool Sandbox.DepthOfField.FrontBlur { get; set; }
Should we blur what's ahead the focal point towards us?
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.DepthOfField |