mwg API
    Preparing search index...

    Interface BoneTransform

    interface BoneTransform {
        angle: number;
        matrix: AffineMatrix;
        name: string;
        scaleX: number;
        scaleY: number;
        tipX: number;
        tipY: number;
        x: number;
        y: number;
    }
    Index
    angle: number

    the bone's angle in world space, degrees

    matrix: AffineMatrix

    the bone's world matrix: its rotation times its scale

    name: string
    scaleX: number

    the bone's world scale, composed down the chain

    scaleY: number
    tipX: number

    the bone's tip in world space, length along its angle

    tipY: number
    x: number

    the bone's base in world space

    y: number