Viewer
    Preparing search index...

    Interface IChromaticAberrationEffectDefinition

    interface IChromaticAberrationEffectDefinition {
        type: CHROMATIC_ABERRATION;
        properties?: {
            blendFunction?: number;
            modulationOffset?: number;
            offset?: vec2 | { x: number; y: number };
            radialModulation?: boolean;
        };
        token?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The type of this effect.

    properties?: {
        blendFunction?: number;
        modulationOffset?: number;
        offset?: vec2 | { x: number; y: number };
        radialModulation?: boolean;
    }

    Type Declaration

    • OptionalblendFunction?: number

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

    • OptionalmodulationOffset?: number

      The modulation offset. Only applies if radialModulation is enabled. (default: 0.15)

    • Optionaloffset?: vec2 | { x: number; y: number }

      The color offset. (default: [0.001, 0.0005])

    • OptionalradialModulation?: boolean

      Whether the effect should be modulated with a radial gradient. (default: false)

    token?: string

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