Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDepthOfFieldEffectDefinition

Hierarchy

Index

Properties

The type of this effect.

properties?: { blendFunction?: BlendFunction; bokehScale?: number; focusDistance?: number; focusRange?: number }

Type declaration

  • Optional blendFunction?: BlendFunction

    The blend function of this effect. (default: BlendFunction.NORMAL)

  • Optional bokehScale?: number

    The scale of the bokeh blur. (default: 5.0)

  • Optional focusDistance?: number

    The normalized focus distance. Range is [0.0, 1.0]. (default: 0.0)

  • Optional focusRange?: number

    The focus range. Range is [0.0, 1.0]. (default: 0.01)

token?: string

The token of the effect, is only returned by the viewer, but ignored as an input.