Vertex Viewer SDK
    Preparing search index...

    Interface Matrix

    Represents a 2D transformation matrix.

    The values of this matrix are meant to represent a 3x3 matrix where the contents are mapped as the following:

    a  b  tx
    c d ty
    u v w
    interface Matrix {
        a: number;
        b: number;
        c: number;
        d: number;
        tx: number;
        ty: number;
    }
    Index
    a b c d tx ty
    a: number

    Value that affects the positioning along the x axis when scaling or rotating.

    b: number

    Value that affects the positioning along the y axis when rotating or skewing.

    c: number

    Value that affects the positioning along the x axis when rotating or skewing.

    d: number

    Value that affects the positioning along the y axis when scaling or rotating.

    tx: number

    The distance to translate along the x axis.

    ty: number

    The distance to translate along the y axis.