@shapediver/viewer.data-engine.shared-types 3.16.8 → 3.16.9
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.
- package/dist/anchor/interfaces.d.ts +75 -75
- package/dist/anchor/interfaces.js +15 -15
- package/dist/anchor/interfaces.js.map +1 -1
- package/dist/gltfv1/IGLTF_v1.d.ts +358 -358
- package/dist/gltfv1/IGLTF_v1.js +32 -32
- package/dist/gltfv1/ISDGTF_v1.d.ts +49 -49
- package/dist/gltfv1/ISDGTF_v1.js +2 -2
- package/dist/gltfv2/IGLTF_v2.d.ts +355 -355
- package/dist/gltfv2/IGLTF_v2.js +29 -29
- package/dist/index.d.ts +11 -11
- package/dist/index.js +13 -13
- package/dist/material/interfaces.d.ts +77 -77
- package/dist/material/interfaces.js +2 -2
- package/dist/sdtf/ISDTF.d.ts +53 -53
- package/dist/sdtf/ISDTF.js +2 -2
- package/package.json +5 -5
package/dist/gltfv1/IGLTF_v1.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ACCESSORTYPE = exports.ACCESSORCOMPONENTSIZE = exports.ACCESSORCOMPONENTTYPE = void 0;
|
|
4
|
-
exports.ACCESSORCOMPONENTTYPE = {
|
|
5
|
-
5120: Int8Array,
|
|
6
|
-
5121: Uint8Array,
|
|
7
|
-
5122: Int16Array,
|
|
8
|
-
5123: Uint16Array,
|
|
9
|
-
5124: Uint32Array,
|
|
10
|
-
5125: Uint32Array,
|
|
11
|
-
5126: Float32Array,
|
|
12
|
-
};
|
|
13
|
-
exports.ACCESSORCOMPONENTSIZE = {
|
|
14
|
-
5120: 1,
|
|
15
|
-
5121: 1,
|
|
16
|
-
5122: 2,
|
|
17
|
-
5123: 2,
|
|
18
|
-
5125: 4,
|
|
19
|
-
5126: 4,
|
|
20
|
-
};
|
|
21
|
-
exports.ACCESSORTYPE = {
|
|
22
|
-
SCALAR: 1,
|
|
23
|
-
VEC2: 2,
|
|
24
|
-
VEC3: 3,
|
|
25
|
-
VEC4: 4,
|
|
26
|
-
VEC7: 7,
|
|
27
|
-
VEC10: 10,
|
|
28
|
-
VEC12: 12,
|
|
29
|
-
MAT2: 4,
|
|
30
|
-
MAT3: 9,
|
|
31
|
-
MAT4: 16,
|
|
32
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ACCESSORTYPE = exports.ACCESSORCOMPONENTSIZE = exports.ACCESSORCOMPONENTTYPE = void 0;
|
|
4
|
+
exports.ACCESSORCOMPONENTTYPE = {
|
|
5
|
+
5120: Int8Array,
|
|
6
|
+
5121: Uint8Array,
|
|
7
|
+
5122: Int16Array,
|
|
8
|
+
5123: Uint16Array,
|
|
9
|
+
5124: Uint32Array,
|
|
10
|
+
5125: Uint32Array,
|
|
11
|
+
5126: Float32Array,
|
|
12
|
+
};
|
|
13
|
+
exports.ACCESSORCOMPONENTSIZE = {
|
|
14
|
+
5120: 1,
|
|
15
|
+
5121: 1,
|
|
16
|
+
5122: 2,
|
|
17
|
+
5123: 2,
|
|
18
|
+
5125: 4,
|
|
19
|
+
5126: 4,
|
|
20
|
+
};
|
|
21
|
+
exports.ACCESSORTYPE = {
|
|
22
|
+
SCALAR: 1,
|
|
23
|
+
VEC2: 2,
|
|
24
|
+
VEC3: 3,
|
|
25
|
+
VEC4: 4,
|
|
26
|
+
VEC7: 7,
|
|
27
|
+
VEC10: 10,
|
|
28
|
+
VEC12: 12,
|
|
29
|
+
MAT2: 4,
|
|
30
|
+
MAT3: 9,
|
|
31
|
+
MAT4: 16,
|
|
32
|
+
};
|
|
33
33
|
//# sourceMappingURL=IGLTF_v1.js.map
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
export interface ISDGTF_v1_Accessor {
|
|
2
|
-
byteOffset: number;
|
|
3
|
-
componentType: number;
|
|
4
|
-
count: number;
|
|
5
|
-
type: string;
|
|
6
|
-
}
|
|
7
|
-
export interface ISDGTF_v1_Attributes {
|
|
8
|
-
attributes: {
|
|
9
|
-
[key: string]: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export interface ISDGTF_v1_Beziercurves extends ISDGTF_v1_Attributes {
|
|
13
|
-
degree: number;
|
|
14
|
-
}
|
|
15
|
-
export interface ISDGTF_v1_Surfacepatch extends ISDGTF_v1_Attributes {
|
|
16
|
-
controlPointCountU: number;
|
|
17
|
-
controlPointCountV: number;
|
|
18
|
-
degreeU: number;
|
|
19
|
-
degreeV: number;
|
|
20
|
-
}
|
|
21
|
-
export interface ISDGTF_v1 {
|
|
22
|
-
accessors?: {
|
|
23
|
-
[key: string]: ISDGTF_v1_Accessor;
|
|
24
|
-
};
|
|
25
|
-
arcs?: ISDGTF_v1_Attributes;
|
|
26
|
-
asset: {
|
|
27
|
-
generator: string;
|
|
28
|
-
profile: {
|
|
29
|
-
api: string;
|
|
30
|
-
version: string;
|
|
31
|
-
};
|
|
32
|
-
version: number;
|
|
33
|
-
};
|
|
34
|
-
beziercurves?: {
|
|
35
|
-
[key: string]: ISDGTF_v1_Beziercurves;
|
|
36
|
-
};
|
|
37
|
-
circles?: ISDGTF_v1_Attributes;
|
|
38
|
-
cylinders?: ISDGTF_v1_Attributes;
|
|
39
|
-
polylines?: {
|
|
40
|
-
[key: string]: ISDGTF_v1_Attributes;
|
|
41
|
-
};
|
|
42
|
-
spheres?: ISDGTF_v1_Attributes;
|
|
43
|
-
surfacepatches?: {
|
|
44
|
-
[key: string]: ISDGTF_v1_Surfacepatch;
|
|
45
|
-
};
|
|
46
|
-
points?: {
|
|
47
|
-
[key: string]: ISDGTF_v1_Attributes;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
1
|
+
export interface ISDGTF_v1_Accessor {
|
|
2
|
+
byteOffset: number;
|
|
3
|
+
componentType: number;
|
|
4
|
+
count: number;
|
|
5
|
+
type: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ISDGTF_v1_Attributes {
|
|
8
|
+
attributes: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export interface ISDGTF_v1_Beziercurves extends ISDGTF_v1_Attributes {
|
|
13
|
+
degree: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ISDGTF_v1_Surfacepatch extends ISDGTF_v1_Attributes {
|
|
16
|
+
controlPointCountU: number;
|
|
17
|
+
controlPointCountV: number;
|
|
18
|
+
degreeU: number;
|
|
19
|
+
degreeV: number;
|
|
20
|
+
}
|
|
21
|
+
export interface ISDGTF_v1 {
|
|
22
|
+
accessors?: {
|
|
23
|
+
[key: string]: ISDGTF_v1_Accessor;
|
|
24
|
+
};
|
|
25
|
+
arcs?: ISDGTF_v1_Attributes;
|
|
26
|
+
asset: {
|
|
27
|
+
generator: string;
|
|
28
|
+
profile: {
|
|
29
|
+
api: string;
|
|
30
|
+
version: string;
|
|
31
|
+
};
|
|
32
|
+
version: number;
|
|
33
|
+
};
|
|
34
|
+
beziercurves?: {
|
|
35
|
+
[key: string]: ISDGTF_v1_Beziercurves;
|
|
36
|
+
};
|
|
37
|
+
circles?: ISDGTF_v1_Attributes;
|
|
38
|
+
cylinders?: ISDGTF_v1_Attributes;
|
|
39
|
+
polylines?: {
|
|
40
|
+
[key: string]: ISDGTF_v1_Attributes;
|
|
41
|
+
};
|
|
42
|
+
spheres?: ISDGTF_v1_Attributes;
|
|
43
|
+
surfacepatches?: {
|
|
44
|
+
[key: string]: ISDGTF_v1_Surfacepatch;
|
|
45
|
+
};
|
|
46
|
+
points?: {
|
|
47
|
+
[key: string]: ISDGTF_v1_Attributes;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
50
|
//# sourceMappingURL=ISDGTF_v1.d.ts.map
|
package/dist/gltfv1/ISDGTF_v1.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=ISDGTF_v1.js.map
|