s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
DepthOfField
chevron_left Classes
class
DepthOfField

Constructors

functionsDepthOfField

Properties

data_objectBackBlurdata_objectBlurSizedata_objectFocalDistancedata_objectFocusRangedata_objectFrontBlur

Methods

functionsRender
menu
DepthOfField
Applies a depth of field effect to the camera
class Sandbox .account_tree extends BasePostProcess<T>
sealedSandbox.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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter