-
Notifications
You must be signed in to change notification settings - Fork 4
DepthOfFieldController
Tempestissiman edited this page Jul 26, 2022
·
1 revision
Descriptions
Controller for Depth of Field effect.
Remarks
Because of how the engine works internally, depth of field doesn't operate as you'd expect and can only blur the whole screen at once.
| Name | Type | Activation string |
|---|---|---|
focusDistance |
ValueChannel | "focusdistance" |
aperture |
ValueChannel | "aperture" |
focalLength |
ValueChannel | "focallength" |
Remarks
In order for a property to take effect, enabledEffect(effects) method must be called with effects being a table containing the relevant activation strings.
Descriptions
Enable effect based on passed in activation strings.
Parameters
| Name | Type | Description |
|---|---|---|
effects |
Table of string | Table containing activation string of effects |
Return types
nil
Remarks
_
Global
Channels
Controllers
- Controller
- CanvasController
- ImageController
- MeshController
- SpriteController
- TextController
- CameraController
- TrackController
- NoteGroupController
Post processing
- AutoExposureController
- BloomController
- ChromaticAberrationController
- ColorGradingController
- DepthOfFieldController
- GrainController
- LensDistortionController
- MotionBlurController
- VignetteController
Data types