s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
DepthOfField
chevron_left
Classes
class
DepthOfField
search
Constructors
functions
DepthOfField
Properties
data_object
BackBlur
data_object
BlurSize
data_object
FocalDistance
data_object
FocusRange
data_object
FrontBlur
Methods
functions
Render
menu
DepthOfField
Applies a depth of field effect to the camera
class
Sandbox
.
account_tree
extends
BasePostProcess
<
T
>
sealed
Sandbox.Engine
build
Constructors
1
DepthOfField
(
)
data_object
Properties
5
BackBlur
bool
Should we blur what's behind the focal point?
BlurSize
float
How blurry to make stuff that isn't in focus.
FocalDistance
float
How far away from the camera to focus in world units.
FocusRange
float
This modulates how far is the blur to the image.
FrontBlur
bool
Should we blur what's ahead the focal point towards us?
functions
Methods
1
Render
(
)
Inheritance
Component
BasePostProcess
BasePostProcess<T>
DepthOfField
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.