@3dsource/metabox-front-api
    Preparing search index...

    Interface Slot

    Represents a slot within a product that may allow material customization.

    Represents a material slot. Defines customizable surfaces within a product or environment.

    Material slot on a product or environment — represents a customizable surface. Each slot has an id (used in SetProductMaterial/SetEnvironmentMaterial) and a list of available materials. Use to build per-surface material pickers.

    Access slot definitions from product or environment data in the envelope. Each slot's id is the slotId parameter for SetProductMaterial or SetEnvironmentMaterial. Iterate slot.enabledMaterials to build the swatch picker for that specific surface.

    interface Slot {
        __typename: "Slot";
        enabledMaterials: Material[];
        id: string;
        label: string;
    }
    Index

    Properties

    __typename: "Slot"

    Represents object typename for the slot.

    enabledMaterials: Material[]

    A list of enabled materials for the slot.

    id: string

    Unique identifier for the slot.

    label: string

    Display a label for the slot.