mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
rules
This commit is contained in:
parent
a9b4f8e83b
commit
e6efc04756
8494 changed files with 495610 additions and 0 deletions
|
|
@ -0,0 +1,127 @@
|
|||
# This file is automatically generated. Please don't edit it manually.
|
||||
# To submit a bug report on the content, see
|
||||
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
||||
|
||||
name: DepthOfFieldEffect
|
||||
type: class
|
||||
memory_category: Instances
|
||||
summary: |
|
||||
Simulates a camera lens by blurring parts of a scene not in focus.
|
||||
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 `Class.PostEffect.Enabled|Enabled` and when parented to `Class.Lighting`
|
||||
or `Class.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](../../../environment/post-processing-effects.md).
|
||||
|
||||
<img src="../../../assets/engine-api/classes/DepthOfFieldEffect/Depth-Of-Field-Diagram.svg" />
|
||||
code_samples: []
|
||||
inherits:
|
||||
- PostEffect
|
||||
descendants: []
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
properties:
|
||||
- name: DepthOfFieldEffect.FarIntensity
|
||||
summary: |
|
||||
Intensity of the far field blur.
|
||||
description: |
|
||||
Intensity of the far field blur, moving out in distance from the
|
||||
`Class.DepthOfFieldEffect.FocusDistance|FocusDistance` point plus
|
||||
`Class.DepthOfFieldEffect.InFocusRadius|InFocusRadius` value.
|
||||
|
||||
<img src="../../../assets/engine-api/classes/DepthOfFieldEffect/Depth-Of-Field-Diagram.svg" />
|
||||
code_samples: []
|
||||
type: float
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
security:
|
||||
read: None
|
||||
write: None
|
||||
thread_safety: ReadSafe
|
||||
category: State
|
||||
serialization:
|
||||
can_load: true
|
||||
can_save: true
|
||||
capabilities:
|
||||
- Environment
|
||||
- name: DepthOfFieldEffect.FocusDistance
|
||||
summary: |
|
||||
Distance away from the camera where objects are in focus.
|
||||
description: |
|
||||
Controls the distance away from the camera (in studs) where objects are in
|
||||
focus.
|
||||
|
||||
<img src="../../../assets/engine-api/classes/DepthOfFieldEffect/Depth-Of-Field-Diagram.svg" />
|
||||
code_samples: []
|
||||
type: float
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
security:
|
||||
read: None
|
||||
write: None
|
||||
thread_safety: ReadSafe
|
||||
category: State
|
||||
serialization:
|
||||
can_load: true
|
||||
can_save: true
|
||||
capabilities:
|
||||
- Environment
|
||||
- name: DepthOfFieldEffect.InFocusRadius
|
||||
summary: |
|
||||
Controls the distance away from the
|
||||
`Class.DepthOfFieldEffect.FocusDistance|FocusDistance` where no blur is
|
||||
applied.
|
||||
description: |
|
||||
Controls the distance away from the
|
||||
`Class.DepthOfFieldEffect.FocusDistance|FocusDistance` (on both sides)
|
||||
where no blur is applied. Measured in studs.
|
||||
|
||||
<img src="../../../assets/engine-api/classes/DepthOfFieldEffect/Depth-Of-Field-Diagram.svg" />
|
||||
code_samples: []
|
||||
type: float
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
security:
|
||||
read: None
|
||||
write: None
|
||||
thread_safety: ReadSafe
|
||||
category: State
|
||||
serialization:
|
||||
can_load: true
|
||||
can_save: true
|
||||
capabilities:
|
||||
- Environment
|
||||
- name: DepthOfFieldEffect.NearIntensity
|
||||
summary: |
|
||||
Intensity of the near field blur.
|
||||
description: |
|
||||
Intensity of the near field blur, between the camera and the
|
||||
`Class.DepthOfFieldEffect.FocusDistance|FocusDistance` point minus
|
||||
`Class.DepthOfFieldEffect.InFocusRadius|InFocusRadius` value.
|
||||
|
||||
<img src="../../../assets/engine-api/classes/DepthOfFieldEffect/Depth-Of-Field-Diagram.svg" />
|
||||
code_samples: []
|
||||
type: float
|
||||
tags: []
|
||||
deprecation_message: ''
|
||||
security:
|
||||
read: None
|
||||
write: None
|
||||
thread_safety: ReadSafe
|
||||
category: State
|
||||
serialization:
|
||||
can_load: true
|
||||
can_save: true
|
||||
capabilities:
|
||||
- Environment
|
||||
methods: []
|
||||
events: []
|
||||
callbacks: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue