Taos API Reference
    Preparing search index...

    Interface LensDistortionSettings

    Radial lens distortion (Brown–Conrady polynomial).

    interface LensDistortionSettings {
        enabled?: boolean;
        amount?: number;
        secondary?: number;
        scale?: number;
    }
    Index

    Properties

    enabled?: boolean
    amount?: number

    Primary radial coefficient k1. Negative = barrel (fisheye bulge), positive = pincushion. Roughly -1..1. Default 0.

    secondary?: number

    Secondary radial coefficient k2 (higher-order edge correction). Default 0.

    scale?: number

    Post-distortion zoom. >1 zooms out (shows more, reveals clamped edges on barrel), <1 zooms in to crop the warped border. Default 1.