AutoMovie API
    Preparing search index...

    How one part differs from a grey solid of unit density at its unrotated place.

    interface IOptions {
        color?: string;
        density?: number;
        opacity?: 0;
        rotation?: IAutoMovieQuaternion;
        share?: number;
        surface?: Material;
    }
    Index
    color?: string

    The part's flat colour as an sRGB swatch #rrggbb; a mid grey when absent.

    density?: number

    The part's density relative to the other parts, positive; 1 when absent. It only shifts the centre of mass and inertia, since the total mass is stated.

    opacity?: 0

    Zero for an explicitly transparent collision and mass proxy. The default surface is opaque.

    The part's rotation in the model's space, a unit quaternion; unrotated when absent.

    share?: number

    The part's share of the total mass, replacing its volume times density, for a body whose segment masses are measured; a producer that states one states it for every part.

    surface?: Material

    What the part's surface is made of, for a part something touches: a tyre, a grip, a seat, a sole; undeclared when absent. Archetype.friction reads it against another material.