postprocessing - v7.0.0-beta.16
    Preparing search index...

    Interface HalftoneEffectOptions

    HalftoneEffect options.

    interface HalftoneEffectOptions {
        bias?: number;
        inverted?: boolean;
        premultiply?: boolean;
        radius?: number;
        rotation?: number;
        samples?: number;
        shape?: HalftoneShape;
    }

    Implemented by

    Index

    Properties

    bias?: number

    A threshold bias.

    0.0
    
    inverted?: boolean

    Whether the halftone thresholding should be inverted.

    false
    
    premultiply?: boolean

    Whether the halftone pattern should be premultiplied with the input color.

    true
    
    radius?: number

    The pattern radius.

    6.0
    
    rotation?: number

    The grid rotation in radians.

    0.7513
    
    samples?: number

    The sample count.

    6
    

    The halftone shape.

    HalftoneShape.DOT