Viewer
    Preparing search index...

    Interface ITiltShiftEffectDefinition

    interface ITiltShiftEffectDefinition {
        type: TILT_SHIFT;
        properties?: {
            blendFunction?: number;
            feather?: number;
            focusArea?: number;
            kernelSize?: number;
            offset?: number;
            rotation?: number;
        };
        token?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The type of this effect.

    properties?: {
        blendFunction?: number;
        feather?: number;
        focusArea?: number;
        kernelSize?: number;
        offset?: number;
        rotation?: number;
    }

    Type Declaration

    • OptionalblendFunction?: number

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

    • Optionalfeather?: number

      The softness of the focus area edges. (default: 0.3)

    • OptionalfocusArea?: number

      The relative size of the focus area. (default: 0.4)

    • OptionalkernelSize?: number

      The blur kernel size. (default: KernelSize.MEDIUM)

    • Optionaloffset?: number

      The relative offset of the focus area. (default: 0.0)

    • Optionalrotation?: number

      The rotation of the focus area in radians. (default: 0.0)

    token?: string

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