P3d.in Embed API
    Preparing search index...

    Interface P3dVariantSelectedResponse

    Response object for "onVariantSelected()" callback

    interface P3dVariantSelectedResponse {
        activeThumbnail?: string;
        activeVariants: P3dVariant[];
    }
    Index

    Properties

    activeThumbnail?: string

    If onVariantSelected() was initialized with includeThumbnail option then include a data: url of the thumbnail image corresponding to the active variant setup.

    activeVariants: P3dVariant[]

    Array with active variant of each set.

    For example if the model has 3 variant sets the array will contain 3 items, one for each set.