ElementVariation: {
    active?: boolean;
    camera?: AsukaCameraView;
    icon?: string;
    id: string;
    image?: string;
    name: string;
    parametricControls?: AsukaElementVariationParametricControls;
    price?: number | string;
    product3d?: AsukaProduct3DConfig;
    syncKey?: string;
    variations?: ElementVariation[];
}

Type declaration

  • Optionalactive?: boolean

    If true, considered the default/active variation in the editor.

  • Optionalcamera?: AsukaCameraView

    Optional 3D camera view used when this variation is opened from Elements or Variations.

  • Optionalicon?: string

    Optional icon URL (small).

  • id: string
  • Optionalimage?: string

    Optional preview image URL (png/jpg/svg). Fabric/standard variations use this as their visual payload.

  • name: string
  • OptionalparametricControls?: AsukaElementVariationParametricControls

    Dynamic Product 3D parameters exposed when this variation/part is opened.

  • Optionalprice?: number | string

    Optional extra price for this variation.

  • Optionalproduct3d?: AsukaProduct3DConfig

    Product/support 3D override used by product-3d variations.

  • OptionalsyncKey?: string

    Stable cross-view key used to map equivalent variations whose local ids or labels differ.

  • Optionalvariations?: ElementVariation[]

    Nested variations (recursive).