AutoMovie API
    Preparing search index...

    Interface IAutoMovieDeliveryCropNdc

    A delivery crop restated in the uncropped frame's normalized device coordinates, the form the perspective frustum tests and the projection read.

    deliveryCropNdc produces it from an IAutoMovieDeliveryCrop. NDC runs from −1 at the left and bottom gate edges to +1 at the right and top ones, so the top-left pixel-edge origin of the crop flips vertically here.

    interface IAutoMovieDeliveryCropNdc {
        bottom: number;
        height: number;
        left: number;
        right: number;
        top: number;
        whole: boolean;
        width: number;
    }
    Index
    bottom: number

    Bottom crop edge in NDC, from −1 at the uncropped gate's bottom edge.

    height: number

    Crop height as a fraction of the uncropped gate height, in (0, 1].

    left: number

    Left crop edge in NDC, from −1 at the uncropped gate's left edge.

    right: number

    Right crop edge in NDC, up to +1 at the uncropped gate's right edge.

    top: number

    Top crop edge in NDC, up to +1 at the uncropped gate's top edge.

    whole: boolean

    True when the crop is the whole gate, so NDC needs no rescaling.

    width: number

    Crop width as a fraction of the uncropped gate width, in (0, 1].