@colijnit/configurator 12.0.11 → 12.0.13

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.
@@ -16,7 +16,11 @@ export declare class Material {
16
16
  roughnessValue: number;
17
17
  displacement: THREE.Texture;
18
18
  displacementValue: number;
19
+ sheen: number;
19
20
  sheenColor: THREE.Color;
21
+ sheenColorMap: THREE.Texture | null;
22
+ sheenRoughness: number;
23
+ sheenRoughnessMap: THREE.Texture | null;
20
24
  emissive: THREE.Texture;
21
25
  emissiveValue: THREE.Color;
22
26
  emissiveIntensityValue: number;
@@ -15,21 +15,28 @@ export declare class VariationSettings {
15
15
  orm: string;
16
16
  ormFilename: string;
17
17
  displacement: string;
18
- displacementValue: string;
18
+ displacementValue: number;
19
19
  displacementFilename: string;
20
- sheen: string;
20
+ sheen: number;
21
+ sheenColor: string;
22
+ sheenColorMap: string;
23
+ sheenColorMapFilename: string;
24
+ sheenRoughness: number;
25
+ sheenRoughnessMap: string;
26
+ sheenRoughnessMapFilename: string;
21
27
  emissive: string;
22
28
  emissiveFilename: string;
23
- emissiveIntensity: string;
24
- opacity: string;
25
- transparent: string;
29
+ emissiveIntensity: number;
30
+ emissiveValue: string;
31
+ opacity: number;
32
+ transparent: boolean;
26
33
  envMap: string;
27
34
  envMapFilename: string;
28
- envMapIntensity: string;
29
- reflectivity: string;
30
- side: string;
31
- transparency: string;
32
- transmission: string;
35
+ envMapIntensity: number;
36
+ reflectivity: number;
37
+ side: number;
38
+ transparency: number;
39
+ transmission: number;
33
40
  material: any;
34
41
  loading: boolean;
35
42
  loaded: Subject<VariationSettings>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/configurator",
3
- "version": "12.0.11",
3
+ "version": "12.0.13",
4
4
  "description": "iOne configurator",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -26,7 +26,7 @@
26
26
  "zone.js": "~0.11.4"
27
27
  },
28
28
  "peerDependencies": {
29
- "three": ">= 0.125.x"
29
+ "three": ">=0.144.x"
30
30
  },
31
31
  "main": "bundles/colijnit-configurator.umd.js",
32
32
  "module": "fesm2015/colijnit-configurator.js",
@@ -9,6 +9,8 @@ export declare class FurnitureMaterial extends Material {
9
9
  displacementFilename?: string;
10
10
  envMapFilename?: string;
11
11
  emissiveFileName?: string;
12
+ sheenColorMapFileName?: string;
13
+ sheenRoughnessMapFileName?: string;
12
14
  }
13
15
  export declare class AssetUtils {
14
16
  static CreateMaterialFromAsset(asset: VariationSettings): Promise<Material>;
@@ -2,7 +2,7 @@ import * as THREE from 'three';
2
2
  import { Material } from '../model/material';
3
3
  export declare class ImageUtils {
4
4
  static textures: Map<string, THREE.Texture>;
5
- static CreateTextureFromBase64(id: string, base64: string, material: Material): Promise<THREE.Texture>;
5
+ static CreateTextureFromBase64(id: string, base64: string, material: Material, defaultFlip?: boolean): Promise<THREE.Texture>;
6
6
  static getDocBodyWithMimeTypeDefinition(fileName: string, documentBody: string): string;
7
7
  static getFixedImageFilepathUrl(imageFilepathUrl: string): string;
8
8
  static ClearCache(): void;