API ReferenceSandbox
DepthOfFieldclass
Applies a depth of field effect to the camera
Constructors1
Showing 1 constructors
public DepthOfField()
No results match this filter.
Methods1
Showing 1 methods
public virtual void Render()
Returns:
void—No results match this filter.
Properties5
Showing 5 properties
public bool Sandbox.DepthOfField.BackBlur { get; set; }
Should we blur what's behind the focal point?
Returns:
bool—public float Sandbox.DepthOfField.BlurSize { get; set; }
How blurry to make stuff that isn't in focus.
Returns:
float—public float Sandbox.DepthOfField.FocalDistance { get; set; }
How far away from the camera to focus in world units.
Returns:
float—public float Sandbox.DepthOfField.FocusRange { get; set; }
This modulates how far is the blur to the image.
Returns:
float—public bool Sandbox.DepthOfField.FrontBlur { get; set; }
Should we blur what's ahead the focal point towards us?
Returns:
bool—No results match this filter.