zakeke-configurator-react 0.0.61 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,6 +129,7 @@ export declare class MeshDesignManager implements IDisposable {
129
129
  private compareTextures;
130
130
  private dataURItoBlob;
131
131
  private downloadImage;
132
+ setDesignMeshVisibility(visibile: boolean): void;
132
133
  getItemsInfo(): MPlaza.ItemInfo[];
133
134
  removeItem(itemGuid: string): void;
134
135
  addItemText(settings: any): void;
@@ -40,6 +40,7 @@ export declare class SceneDesignManager implements IDisposable {
40
40
  setItemImage(guid: string, image: any): Promise<void>;
41
41
  setItemTextOnPath(guid: string, areaId: number, value: boolean): void;
42
42
  removeItemImage(guid: string): void;
43
+ setDesignVisibility(meshId: string, visibile: boolean): void;
43
44
  getDesignItemsJson(): string;
44
45
  getDesignID(): number;
45
46
  private fireRenderingNeededEvent;
@@ -277,6 +277,7 @@ export declare class SceneViewer implements IDisposable {
277
277
  setDesignItemImage(guid: string, image: MPlaza.Image): Promise<void>;
278
278
  setItemTextOnPath(guid: string, areaId: number, value: boolean): void;
279
279
  removeDesignItemImage(guid: string): void;
280
+ setDesignVisibility(meshId: string, opacity: boolean): void;
280
281
  setupShaderMaterialsCameraPosition(): void;
281
282
  setupShaderMaterialCameraPosition(material: BABYLON.Material): void;
282
283
  setMeshLocation(locationID: string): void;
@@ -160,6 +160,12 @@ export declare class ZakekeEnvironment {
160
160
  * @param meshId The mesh and childs to show
161
161
  */
162
162
  restoreMeshVisibility: (meshId: string) => void;
163
+ /**
164
+ * Change opacity for a specific mesh
165
+ * @param meshId The mesh to change the opacity
166
+ * @param opacity The opacity to set
167
+ */
168
+ setMeshDesignVisibility: (meshId: string, visible: boolean) => void;
163
169
  addFocusAttributesListener: (listenerFunction: FocusAttributesEventListener) => void;
164
170
  clearListeners: () => void;
165
171
  }
@@ -68,6 +68,7 @@ export interface ProviderValue {
68
68
  getMeshIDbyName: (name: string) => string | undefined | null;
69
69
  hideMeshAndSaveState: (meshId: string) => void;
70
70
  restoreMeshVisibility: (meshId: string) => void;
71
+ setMeshDesignVisibility: (meshId: string, visible: boolean) => void;
71
72
  clearListeners: () => void;
72
73
  addFocusAttributesListener: (listenerFunction: FocusAttributesEventListener) => void;
73
74
  getQrCodeArUrl: (device: 'iOS' | 'Android') => Promise<string>;