VFX-JS
    Preparing search index...

    Type Alias PatternRefractionParams

    type PatternRefractionParams = {
        angle: number;
        centerX: number;
        centerY: number;
        dispersion: number;
        edgeWrap: RefractionEdgeWrap;
        frost: number;
        pattern: RefractionPattern;
        smoothness: number;
        strength: number;
        stripWidth: number;
    }
    Index

    Properties

    angle: number

    Pattern rotation, in degrees.

    centerX: number

    Pattern center X, in [0, 1].

    centerY: number

    Pattern center Y, in [0, 1].

    dispersion: number

    Chromatic dispersion (per-channel refraction offset), in [0, 1].

    Out-of-range edge sampling.

    frost: number

    Frosted-glass jitter, in [0, 1].

    Refraction pattern.

    smoothness: number

    Smooth the displacement across pattern boundaries, in [0, 1].

    strength: number

    Refraction amount.

    stripWidth: number

    Width of one strip/cell, as a fraction of the element, in (0, 1].