Viewer
    Preparing search index...

    Interface IDepthOfFieldEffectDefinition

    interface IDepthOfFieldEffectDefinition {
        type: DEPTH_OF_FIELD;
        properties?: {
            blendFunction?: number;
            bokehScale?: number;
            focusDistance?: number;
            focusRange?: number;
        };
        token?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The type of this effect.

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

    Type Declaration

    • OptionalblendFunction?: number

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

    • OptionalbokehScale?: number

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

    • OptionalfocusDistance?: number

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

    • OptionalfocusRange?: 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.