DepthOfFieldEffect
Simulates a camera lens by blurring parts of a scene not in focus.
Memory category | Instances |
---|
Member index 4
Description
The DepthOfFieldEffect simulates a camera lens by blurring parts of a scene not in focus. Distant objects can be blurred or this effect can be used to focus on specific parts of a scene, like an item in an in-game shop.
Like other post-processing effects, DepthOfFieldEffect will only work while Enabled and when parented to Lighting or Workspace.CurrentCamera. Also, it may render differently on low-end devices or depending on your Studio settings (see the Quality Level settings in Rendering → Performance).
For more details on this effect and others, see Post-Processing Effects.
History 17
- 553 Change Default of NearIntensity from to 0.75
- 553 Change Default of InFocusRadius from to 10
- 553 Change Default of FocusDistance from to 0.0500000007
- 553 Change Default of FarIntensity from to 0.75
- 486 Change ThreadSafety of NearIntensity from ReadOnly to ReadSafe
- 486 Change ThreadSafety of InFocusRadius from ReadOnly to ReadSafe
- 486 Change ThreadSafety of FocusDistance from ReadOnly to ReadSafe
- 486 Change ThreadSafety of FarIntensity from ReadOnly to ReadSafe
- 462 Change ThreadSafety of NearIntensity from to ReadOnly
- 462 Change ThreadSafety of InFocusRadius from to ReadOnly
- 462 Change ThreadSafety of FocusDistance from to ReadOnly
- 462 Change ThreadSafety of FarIntensity from to ReadOnly
- 427 Add NearIntensity
- 427 Add InFocusRadius
- 427 Add FocusDistance
- 427 Add FarIntensity
- 427 Add DepthOfFieldEffect
Members 4
FarIntensity
Type | Default | |
---|---|---|
float | 0.75 |
Intensity of the far field blur, moving out in distance from the FocusDistance point plus InFocusRadius value.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
History 4
- 553 Change Default of FarIntensity from to 0.75
- 486 Change ThreadSafety of FarIntensity from ReadOnly to ReadSafe
- 462 Change ThreadSafety of FarIntensity from to ReadOnly
- 427 Add FarIntensity
FocusDistance
Type | Default | |
---|---|---|
float | 0.0500000007 |
Controls the distance away from the camera (in studs) where objects are in focus.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
History 4
- 553 Change Default of FocusDistance from to 0.0500000007
- 486 Change ThreadSafety of FocusDistance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of FocusDistance from to ReadOnly
- 427 Add FocusDistance
InFocusRadius
Type | Default | |
---|---|---|
float | 10 |
Controls the distance away from the FocusDistance (on both sides) where no blur is applied. Measured in studs.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
History 4
- 553 Change Default of InFocusRadius from to 10
- 486 Change ThreadSafety of InFocusRadius from ReadOnly to ReadSafe
- 462 Change ThreadSafety of InFocusRadius from to ReadOnly
- 427 Add InFocusRadius
NearIntensity
Type | Default | |
---|---|---|
float | 0.75 |
Intensity of the near field blur, between the camera and the FocusDistance point minus InFocusRadius value.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
History 4
- 553 Change Default of NearIntensity from to 0.75
- 486 Change ThreadSafety of NearIntensity from ReadOnly to ReadSafe
- 462 Change ThreadSafety of NearIntensity from to ReadOnly
- 427 Add NearIntensity