Skip to content

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.

Properties


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.

Methods


enableEffect(effects)

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

_

Clone this wiki locally