@shapediver/viewer.shared.node-tree 3.15.12 → 3.16.1
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/implementation/AbstractTreeNodeData.d.ts +4 -1
- package/dist/implementation/AbstractTreeNodeData.d.ts.map +1 -1
- package/dist/implementation/AbstractTreeNodeData.js +9 -10
- package/dist/implementation/AbstractTreeNodeData.js.map +1 -1
- package/dist/implementation/Tree.d.ts +1 -2
- package/dist/implementation/Tree.d.ts.map +1 -1
- package/dist/implementation/Tree.js.map +1 -1
- package/dist/implementation/TreeNode.d.ts +8 -14
- package/dist/implementation/TreeNode.d.ts.map +1 -1
- package/dist/implementation/TreeNode.js +102 -77
- package/dist/implementation/TreeNode.js.map +1 -1
- package/dist/implementation/data/AnimationData.d.ts +33 -0
- package/dist/implementation/data/AnimationData.d.ts.map +1 -0
- package/dist/implementation/data/AnimationData.js +291 -0
- package/dist/implementation/data/AnimationData.js.map +1 -0
- package/dist/implementation/data/ChunkData.d.ts +15 -0
- package/dist/implementation/data/ChunkData.d.ts.map +1 -0
- package/dist/implementation/data/ChunkData.js +47 -0
- package/dist/implementation/data/ChunkData.js.map +1 -0
- package/dist/implementation/data/CustomData.d.ts +25 -0
- package/dist/implementation/data/CustomData.d.ts.map +1 -0
- package/dist/implementation/data/CustomData.js +51 -0
- package/dist/implementation/data/CustomData.js.map +1 -0
- package/dist/implementation/data/GeometryData.d.ts +101 -0
- package/dist/implementation/data/GeometryData.d.ts.map +1 -0
- package/dist/implementation/data/GeometryData.js +327 -0
- package/dist/implementation/data/GeometryData.js.map +1 -0
- package/dist/implementation/data/HTMLElementAnchorData.d.ts +103 -0
- package/dist/implementation/data/HTMLElementAnchorData.d.ts.map +1 -0
- package/dist/implementation/data/HTMLElementAnchorData.js +274 -0
- package/dist/implementation/data/HTMLElementAnchorData.js.map +1 -0
- package/dist/implementation/data/InstanceData.d.ts +22 -0
- package/dist/implementation/data/InstanceData.d.ts.map +1 -0
- package/dist/implementation/data/InstanceData.js +59 -0
- package/dist/implementation/data/InstanceData.js.map +1 -0
- package/dist/implementation/material/AbstractMaterialData.d.ts +69 -0
- package/dist/implementation/material/AbstractMaterialData.d.ts.map +1 -0
- package/dist/implementation/material/AbstractMaterialData.js +225 -0
- package/dist/implementation/material/AbstractMaterialData.js.map +1 -0
- package/dist/implementation/material/MapData.d.ts +54 -0
- package/dist/implementation/material/MapData.d.ts.map +1 -0
- package/dist/implementation/material/MapData.js +191 -0
- package/dist/implementation/material/MapData.js.map +1 -0
- package/dist/implementation/material/MaterialBasicLineData.d.ts +15 -0
- package/dist/implementation/material/MaterialBasicLineData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialBasicLineData.js +91 -0
- package/dist/implementation/material/MaterialBasicLineData.js.map +1 -0
- package/dist/implementation/material/MaterialGemData.d.ts +47 -0
- package/dist/implementation/material/MaterialGemData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialGemData.js +289 -0
- package/dist/implementation/material/MaterialGemData.js.map +1 -0
- package/dist/implementation/material/MaterialLambertData.d.ts +22 -0
- package/dist/implementation/material/MaterialLambertData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialLambertData.js +147 -0
- package/dist/implementation/material/MaterialLambertData.js.map +1 -0
- package/dist/implementation/material/MaterialMultiPointData.d.ts +100 -0
- package/dist/implementation/material/MaterialMultiPointData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialMultiPointData.js +651 -0
- package/dist/implementation/material/MaterialMultiPointData.js.map +1 -0
- package/dist/implementation/material/MaterialPhongData.d.ts +26 -0
- package/dist/implementation/material/MaterialPhongData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialPhongData.js +171 -0
- package/dist/implementation/material/MaterialPhongData.js.map +1 -0
- package/dist/implementation/material/MaterialPointData.d.ts +20 -0
- package/dist/implementation/material/MaterialPointData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialPointData.js +132 -0
- package/dist/implementation/material/MaterialPointData.js.map +1 -0
- package/dist/implementation/material/MaterialShadowData.d.ts +15 -0
- package/dist/implementation/material/MaterialShadowData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialShadowData.js +36 -0
- package/dist/implementation/material/MaterialShadowData.js.map +1 -0
- package/dist/implementation/material/MaterialSpecularGlossinessData.d.ts +28 -0
- package/dist/implementation/material/MaterialSpecularGlossinessData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialSpecularGlossinessData.js +180 -0
- package/dist/implementation/material/MaterialSpecularGlossinessData.js.map +1 -0
- package/dist/implementation/material/MaterialStandardData.d.ts +76 -0
- package/dist/implementation/material/MaterialStandardData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialStandardData.js +468 -0
- package/dist/implementation/material/MaterialStandardData.js.map +1 -0
- package/dist/implementation/material/MaterialUnlitData.d.ts +18 -0
- package/dist/implementation/material/MaterialUnlitData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialUnlitData.js +120 -0
- package/dist/implementation/material/MaterialUnlitData.js.map +1 -0
- package/dist/implementation/material/MaterialVariantsData.d.ts +16 -0
- package/dist/implementation/material/MaterialVariantsData.d.ts.map +1 -0
- package/dist/implementation/material/MaterialVariantsData.js +62 -0
- package/dist/implementation/material/MaterialVariantsData.js.map +1 -0
- package/dist/implementation/sdtf/SDTFAttributesData.d.ts +23 -0
- package/dist/implementation/sdtf/SDTFAttributesData.d.ts.map +1 -0
- package/dist/implementation/sdtf/SDTFAttributesData.js +100 -0
- package/dist/implementation/sdtf/SDTFAttributesData.js.map +1 -0
- package/dist/implementation/sdtf/SDTFItemData.d.ts +19 -0
- package/dist/implementation/sdtf/SDTFItemData.d.ts.map +1 -0
- package/dist/implementation/sdtf/SDTFItemData.js +60 -0
- package/dist/implementation/sdtf/SDTFItemData.js.map +1 -0
- package/dist/implementation/sdtf/SDTFOverviewData.d.ts +13 -0
- package/dist/implementation/sdtf/SDTFOverviewData.d.ts.map +1 -0
- package/dist/implementation/sdtf/SDTFOverviewData.js +107 -0
- package/dist/implementation/sdtf/SDTFOverviewData.js.map +1 -0
- package/dist/index.d.ts +31 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +51 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
- package/dist/interfaces/ITree.d.ts +0 -46
- package/dist/interfaces/ITree.d.ts.map +0 -1
- package/dist/interfaces/ITree.js +0 -3
- package/dist/interfaces/ITree.js.map +0 -1
- package/dist/interfaces/ITreeNode.d.ts +0 -237
- package/dist/interfaces/ITreeNode.d.ts.map +0 -1
- package/dist/interfaces/ITreeNode.js +0 -4
- package/dist/interfaces/ITreeNode.js.map +0 -1
- package/dist/interfaces/ITreeNodeData.d.ts +0 -36
- package/dist/interfaces/ITreeNodeData.d.ts.map +0 -1
- package/dist/interfaces/ITreeNodeData.js +0 -3
- package/dist/interfaces/ITreeNodeData.js.map +0 -1
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
8
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
11
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12
|
+
};
|
|
13
|
+
var _MaterialStandardData_attenuationColor, _MaterialStandardData_attenuationDistance, _MaterialStandardData_clearcoat, _MaterialStandardData_clearcoatMap, _MaterialStandardData_clearcoatNormalMap, _MaterialStandardData_clearcoatRoughness, _MaterialStandardData_clearcoatRoughnessMap, _MaterialStandardData_displacementMap, _MaterialStandardData_displacementScale, _MaterialStandardData_displacementBias, _MaterialStandardData_envMap, _MaterialStandardData_ior, _MaterialStandardData_metalness, _MaterialStandardData_metalnessMap, _MaterialStandardData_metalnessRoughnessMap, _MaterialStandardData_roughness, _MaterialStandardData_roughnessMap, _MaterialStandardData_sheen, _MaterialStandardData_sheenColor, _MaterialStandardData_sheenColorMap, _MaterialStandardData_sheenRoughness, _MaterialStandardData_sheenRoughnessMap, _MaterialStandardData_specularColor, _MaterialStandardData_specularColorMap, _MaterialStandardData_specularIntensity, _MaterialStandardData_specularIntensityMap, _MaterialStandardData_thickness, _MaterialStandardData_thicknessMap, _MaterialStandardData_transmission, _MaterialStandardData_transmissionMap;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MaterialStandardData = void 0;
|
|
16
|
+
const viewer_shared_types_1 = require("@shapediver/viewer.shared.types");
|
|
17
|
+
const AbstractMaterialData_1 = require("./AbstractMaterialData");
|
|
18
|
+
class MaterialStandardData extends AbstractMaterialData_1.AbstractMaterialData {
|
|
19
|
+
// #endregion Properties (26)
|
|
20
|
+
// #region Constructors (1)
|
|
21
|
+
/**
|
|
22
|
+
* Creates a material data object.
|
|
23
|
+
*
|
|
24
|
+
* @param _attributes the attributes of the material
|
|
25
|
+
* @param id the id
|
|
26
|
+
*/
|
|
27
|
+
constructor(properties, id, version) {
|
|
28
|
+
super(properties, id, version);
|
|
29
|
+
// #region Properties (26)
|
|
30
|
+
_MaterialStandardData_attenuationColor.set(this, "#ffffff");
|
|
31
|
+
_MaterialStandardData_attenuationDistance.set(this, Infinity);
|
|
32
|
+
_MaterialStandardData_clearcoat.set(this, 0);
|
|
33
|
+
_MaterialStandardData_clearcoatMap.set(this, void 0);
|
|
34
|
+
_MaterialStandardData_clearcoatNormalMap.set(this, void 0);
|
|
35
|
+
_MaterialStandardData_clearcoatRoughness.set(this, 0);
|
|
36
|
+
_MaterialStandardData_clearcoatRoughnessMap.set(this, void 0);
|
|
37
|
+
_MaterialStandardData_displacementMap.set(this, void 0);
|
|
38
|
+
_MaterialStandardData_displacementScale.set(this, 1);
|
|
39
|
+
_MaterialStandardData_displacementBias.set(this, 0);
|
|
40
|
+
_MaterialStandardData_envMap.set(this, void 0);
|
|
41
|
+
_MaterialStandardData_ior.set(this, 1.5);
|
|
42
|
+
_MaterialStandardData_metalness.set(this, 1.0);
|
|
43
|
+
_MaterialStandardData_metalnessMap.set(this, void 0);
|
|
44
|
+
_MaterialStandardData_metalnessRoughnessMap.set(this, void 0);
|
|
45
|
+
_MaterialStandardData_roughness.set(this, 1.0);
|
|
46
|
+
_MaterialStandardData_roughnessMap.set(this, void 0);
|
|
47
|
+
_MaterialStandardData_sheen.set(this, 0.0);
|
|
48
|
+
_MaterialStandardData_sheenColor.set(this, "#ffffff");
|
|
49
|
+
_MaterialStandardData_sheenColorMap.set(this, void 0);
|
|
50
|
+
_MaterialStandardData_sheenRoughness.set(this, 1.0);
|
|
51
|
+
_MaterialStandardData_sheenRoughnessMap.set(this, void 0);
|
|
52
|
+
_MaterialStandardData_specularColor.set(this, "#ffffff");
|
|
53
|
+
_MaterialStandardData_specularColorMap.set(this, void 0);
|
|
54
|
+
_MaterialStandardData_specularIntensity.set(this, 1.0);
|
|
55
|
+
_MaterialStandardData_specularIntensityMap.set(this, void 0);
|
|
56
|
+
_MaterialStandardData_thickness.set(this, 0.0);
|
|
57
|
+
_MaterialStandardData_thicknessMap.set(this, void 0);
|
|
58
|
+
_MaterialStandardData_transmission.set(this, 0.0);
|
|
59
|
+
_MaterialStandardData_transmissionMap.set(this, void 0);
|
|
60
|
+
if (!properties)
|
|
61
|
+
return;
|
|
62
|
+
if (properties.metalness !== undefined)
|
|
63
|
+
this.metalness = properties.metalness;
|
|
64
|
+
if (properties.metalnessMap !== undefined)
|
|
65
|
+
this.metalnessMap = properties.metalnessMap;
|
|
66
|
+
if (properties.metalnessRoughnessMap !== undefined)
|
|
67
|
+
this.metalnessRoughnessMap = properties.metalnessRoughnessMap;
|
|
68
|
+
if (properties.roughness !== undefined)
|
|
69
|
+
this.roughness = properties.roughness;
|
|
70
|
+
if (properties.roughnessMap !== undefined)
|
|
71
|
+
this.roughnessMap = properties.roughnessMap;
|
|
72
|
+
if (properties.clearcoat !== undefined)
|
|
73
|
+
this.clearcoat = properties.clearcoat;
|
|
74
|
+
if (properties.clearcoatMap !== undefined)
|
|
75
|
+
this.clearcoatMap = properties.clearcoatMap;
|
|
76
|
+
if (properties.clearcoatNormalMap !== undefined)
|
|
77
|
+
this.clearcoatNormalMap = properties.clearcoatNormalMap;
|
|
78
|
+
if (properties.clearcoatRoughness !== undefined)
|
|
79
|
+
this.clearcoatRoughness = properties.clearcoatRoughness;
|
|
80
|
+
if (properties.clearcoatRoughnessMap !== undefined)
|
|
81
|
+
this.clearcoatRoughnessMap = properties.clearcoatRoughnessMap;
|
|
82
|
+
if (properties.displacementMap !== undefined)
|
|
83
|
+
this.displacementMap = properties.displacementMap;
|
|
84
|
+
if (properties.displacementScale !== undefined)
|
|
85
|
+
this.displacementScale = properties.displacementScale;
|
|
86
|
+
if (properties.displacementBias !== undefined)
|
|
87
|
+
this.displacementBias = properties.displacementBias;
|
|
88
|
+
if (properties.ior !== undefined)
|
|
89
|
+
this.ior = properties.ior;
|
|
90
|
+
if (properties.transmission !== undefined)
|
|
91
|
+
this.transmission = properties.transmission;
|
|
92
|
+
if (properties.transmissionMap !== undefined)
|
|
93
|
+
this.transmissionMap = properties.transmissionMap;
|
|
94
|
+
if (properties.thickness !== undefined)
|
|
95
|
+
this.thickness = properties.thickness;
|
|
96
|
+
if (properties.thicknessMap !== undefined)
|
|
97
|
+
this.thicknessMap = properties.thicknessMap;
|
|
98
|
+
if (properties.attenuationDistance !== undefined)
|
|
99
|
+
this.attenuationDistance = properties.attenuationDistance;
|
|
100
|
+
if (properties.attenuationColor !== undefined)
|
|
101
|
+
this.attenuationColor = properties.attenuationColor;
|
|
102
|
+
if (properties.sheen !== undefined)
|
|
103
|
+
this.sheen = properties.sheen;
|
|
104
|
+
if (properties.sheenColor !== undefined)
|
|
105
|
+
this.sheenColor = properties.sheenColor;
|
|
106
|
+
if (properties.sheenRoughness !== undefined)
|
|
107
|
+
this.sheenRoughness = properties.sheenRoughness;
|
|
108
|
+
if (properties.sheenColorMap !== undefined)
|
|
109
|
+
this.sheenColorMap = properties.sheenColorMap;
|
|
110
|
+
if (properties.sheenRoughnessMap !== undefined)
|
|
111
|
+
this.sheenRoughnessMap = properties.sheenRoughnessMap;
|
|
112
|
+
if (properties.specularColor !== undefined)
|
|
113
|
+
this.specularColor = properties.specularColor;
|
|
114
|
+
if (properties.specularColorMap !== undefined)
|
|
115
|
+
this.specularColorMap = properties.specularColorMap;
|
|
116
|
+
if (properties.specularIntensity !== undefined)
|
|
117
|
+
this.specularIntensity = properties.specularIntensity;
|
|
118
|
+
if (properties.specularIntensityMap !== undefined)
|
|
119
|
+
this.specularIntensityMap = properties.specularIntensityMap;
|
|
120
|
+
if (properties.envMap !== undefined)
|
|
121
|
+
this.envMap = properties.envMap;
|
|
122
|
+
}
|
|
123
|
+
// #endregion Constructors (1)
|
|
124
|
+
// #region Public Accessors (52)
|
|
125
|
+
get attenuationColor() {
|
|
126
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_attenuationColor, "f");
|
|
127
|
+
}
|
|
128
|
+
set attenuationColor(value) {
|
|
129
|
+
__classPrivateFieldSet(this, _MaterialStandardData_attenuationColor, value, "f");
|
|
130
|
+
}
|
|
131
|
+
get attenuationDistance() {
|
|
132
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_attenuationDistance, "f");
|
|
133
|
+
}
|
|
134
|
+
set attenuationDistance(value) {
|
|
135
|
+
__classPrivateFieldSet(this, _MaterialStandardData_attenuationDistance, value, "f");
|
|
136
|
+
}
|
|
137
|
+
get clearcoat() {
|
|
138
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_clearcoat, "f");
|
|
139
|
+
}
|
|
140
|
+
set clearcoat(value) {
|
|
141
|
+
__classPrivateFieldSet(this, _MaterialStandardData_clearcoat, value, "f");
|
|
142
|
+
}
|
|
143
|
+
get clearcoatMap() {
|
|
144
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_clearcoatMap, "f");
|
|
145
|
+
}
|
|
146
|
+
set clearcoatMap(value) {
|
|
147
|
+
__classPrivateFieldSet(this, _MaterialStandardData_clearcoatMap, value, "f");
|
|
148
|
+
}
|
|
149
|
+
get clearcoatNormalMap() {
|
|
150
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_clearcoatNormalMap, "f");
|
|
151
|
+
}
|
|
152
|
+
set clearcoatNormalMap(value) {
|
|
153
|
+
__classPrivateFieldSet(this, _MaterialStandardData_clearcoatNormalMap, value, "f");
|
|
154
|
+
}
|
|
155
|
+
get clearcoatRoughness() {
|
|
156
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_clearcoatRoughness, "f");
|
|
157
|
+
}
|
|
158
|
+
set clearcoatRoughness(value) {
|
|
159
|
+
__classPrivateFieldSet(this, _MaterialStandardData_clearcoatRoughness, value, "f");
|
|
160
|
+
}
|
|
161
|
+
get clearcoatRoughnessMap() {
|
|
162
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_clearcoatRoughnessMap, "f");
|
|
163
|
+
}
|
|
164
|
+
set clearcoatRoughnessMap(value) {
|
|
165
|
+
__classPrivateFieldSet(this, _MaterialStandardData_clearcoatRoughnessMap, value, "f");
|
|
166
|
+
}
|
|
167
|
+
get displacementMap() {
|
|
168
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_displacementMap, "f");
|
|
169
|
+
}
|
|
170
|
+
set displacementMap(value) {
|
|
171
|
+
__classPrivateFieldSet(this, _MaterialStandardData_displacementMap, value, "f");
|
|
172
|
+
}
|
|
173
|
+
get displacementScale() {
|
|
174
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_displacementScale, "f");
|
|
175
|
+
}
|
|
176
|
+
set displacementScale(value) {
|
|
177
|
+
__classPrivateFieldSet(this, _MaterialStandardData_displacementScale, value, "f");
|
|
178
|
+
}
|
|
179
|
+
get displacementBias() {
|
|
180
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_displacementBias, "f");
|
|
181
|
+
}
|
|
182
|
+
set displacementBias(value) {
|
|
183
|
+
__classPrivateFieldSet(this, _MaterialStandardData_displacementBias, value, "f");
|
|
184
|
+
}
|
|
185
|
+
get envMap() {
|
|
186
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_envMap, "f");
|
|
187
|
+
}
|
|
188
|
+
set envMap(value) {
|
|
189
|
+
__classPrivateFieldSet(this, _MaterialStandardData_envMap, value, "f");
|
|
190
|
+
}
|
|
191
|
+
get ior() {
|
|
192
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_ior, "f");
|
|
193
|
+
}
|
|
194
|
+
set ior(value) {
|
|
195
|
+
__classPrivateFieldSet(this, _MaterialStandardData_ior, value, "f");
|
|
196
|
+
}
|
|
197
|
+
get metalness() {
|
|
198
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_metalness, "f");
|
|
199
|
+
}
|
|
200
|
+
set metalness(value) {
|
|
201
|
+
__classPrivateFieldSet(this, _MaterialStandardData_metalness, value, "f");
|
|
202
|
+
}
|
|
203
|
+
get metalnessMap() {
|
|
204
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_metalnessMap, "f");
|
|
205
|
+
}
|
|
206
|
+
set metalnessMap(value) {
|
|
207
|
+
__classPrivateFieldSet(this, _MaterialStandardData_metalnessMap, value, "f");
|
|
208
|
+
}
|
|
209
|
+
get metalnessRoughnessMap() {
|
|
210
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_metalnessRoughnessMap, "f");
|
|
211
|
+
}
|
|
212
|
+
set metalnessRoughnessMap(value) {
|
|
213
|
+
__classPrivateFieldSet(this, _MaterialStandardData_metalnessRoughnessMap, value, "f");
|
|
214
|
+
}
|
|
215
|
+
get roughness() {
|
|
216
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_roughness, "f");
|
|
217
|
+
}
|
|
218
|
+
set roughness(value) {
|
|
219
|
+
__classPrivateFieldSet(this, _MaterialStandardData_roughness, value, "f");
|
|
220
|
+
}
|
|
221
|
+
get roughnessMap() {
|
|
222
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_roughnessMap, "f");
|
|
223
|
+
}
|
|
224
|
+
set roughnessMap(value) {
|
|
225
|
+
__classPrivateFieldSet(this, _MaterialStandardData_roughnessMap, value, "f");
|
|
226
|
+
}
|
|
227
|
+
get sheen() {
|
|
228
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_sheen, "f");
|
|
229
|
+
}
|
|
230
|
+
set sheen(value) {
|
|
231
|
+
__classPrivateFieldSet(this, _MaterialStandardData_sheen, value, "f");
|
|
232
|
+
}
|
|
233
|
+
get sheenColor() {
|
|
234
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_sheenColor, "f");
|
|
235
|
+
}
|
|
236
|
+
set sheenColor(value) {
|
|
237
|
+
__classPrivateFieldSet(this, _MaterialStandardData_sheenColor, value, "f");
|
|
238
|
+
}
|
|
239
|
+
get sheenColorMap() {
|
|
240
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_sheenColorMap, "f");
|
|
241
|
+
}
|
|
242
|
+
set sheenColorMap(value) {
|
|
243
|
+
__classPrivateFieldSet(this, _MaterialStandardData_sheenColorMap, value, "f");
|
|
244
|
+
}
|
|
245
|
+
get sheenRoughness() {
|
|
246
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_sheenRoughness, "f");
|
|
247
|
+
}
|
|
248
|
+
set sheenRoughness(value) {
|
|
249
|
+
__classPrivateFieldSet(this, _MaterialStandardData_sheenRoughness, value, "f");
|
|
250
|
+
}
|
|
251
|
+
get sheenRoughnessMap() {
|
|
252
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_sheenRoughnessMap, "f");
|
|
253
|
+
}
|
|
254
|
+
set sheenRoughnessMap(value) {
|
|
255
|
+
__classPrivateFieldSet(this, _MaterialStandardData_sheenRoughnessMap, value, "f");
|
|
256
|
+
}
|
|
257
|
+
get specularColor() {
|
|
258
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_specularColor, "f");
|
|
259
|
+
}
|
|
260
|
+
set specularColor(value) {
|
|
261
|
+
__classPrivateFieldSet(this, _MaterialStandardData_specularColor, value, "f");
|
|
262
|
+
}
|
|
263
|
+
get specularColorMap() {
|
|
264
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_specularColorMap, "f");
|
|
265
|
+
}
|
|
266
|
+
set specularColorMap(value) {
|
|
267
|
+
__classPrivateFieldSet(this, _MaterialStandardData_specularColorMap, value, "f");
|
|
268
|
+
}
|
|
269
|
+
get specularIntensity() {
|
|
270
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_specularIntensity, "f");
|
|
271
|
+
}
|
|
272
|
+
set specularIntensity(value) {
|
|
273
|
+
__classPrivateFieldSet(this, _MaterialStandardData_specularIntensity, value, "f");
|
|
274
|
+
}
|
|
275
|
+
get specularIntensityMap() {
|
|
276
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_specularIntensityMap, "f");
|
|
277
|
+
}
|
|
278
|
+
set specularIntensityMap(value) {
|
|
279
|
+
__classPrivateFieldSet(this, _MaterialStandardData_specularIntensityMap, value, "f");
|
|
280
|
+
}
|
|
281
|
+
get thickness() {
|
|
282
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_thickness, "f");
|
|
283
|
+
}
|
|
284
|
+
set thickness(value) {
|
|
285
|
+
__classPrivateFieldSet(this, _MaterialStandardData_thickness, value, "f");
|
|
286
|
+
}
|
|
287
|
+
get thicknessMap() {
|
|
288
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_thicknessMap, "f");
|
|
289
|
+
}
|
|
290
|
+
set thicknessMap(value) {
|
|
291
|
+
__classPrivateFieldSet(this, _MaterialStandardData_thicknessMap, value, "f");
|
|
292
|
+
}
|
|
293
|
+
get transmission() {
|
|
294
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_transmission, "f");
|
|
295
|
+
}
|
|
296
|
+
set transmission(value) {
|
|
297
|
+
__classPrivateFieldSet(this, _MaterialStandardData_transmission, value, "f");
|
|
298
|
+
}
|
|
299
|
+
get transmissionMap() {
|
|
300
|
+
return __classPrivateFieldGet(this, _MaterialStandardData_transmissionMap, "f");
|
|
301
|
+
}
|
|
302
|
+
set transmissionMap(value) {
|
|
303
|
+
__classPrivateFieldSet(this, _MaterialStandardData_transmissionMap, value, "f");
|
|
304
|
+
}
|
|
305
|
+
// #endregion Public Accessors (52)
|
|
306
|
+
// #region Public Methods (1)
|
|
307
|
+
reset() {
|
|
308
|
+
this.alphaCutoff = 0;
|
|
309
|
+
this.alphaMap = undefined;
|
|
310
|
+
this.alphaMode = viewer_shared_types_1.MATERIAL_ALPHA.OPAQUE;
|
|
311
|
+
this.aoMap = undefined;
|
|
312
|
+
this.aoMapIntensity = 1.0;
|
|
313
|
+
this.bumpMap = undefined;
|
|
314
|
+
this.bumpScale = 1.0;
|
|
315
|
+
this.color = "#ffffff";
|
|
316
|
+
this.depthTest = undefined;
|
|
317
|
+
this.depthWrite = undefined;
|
|
318
|
+
this.emissiveMap = undefined;
|
|
319
|
+
this.emissiveness = "#000000";
|
|
320
|
+
this.materialOutput = false;
|
|
321
|
+
this.map = undefined;
|
|
322
|
+
this.normalMap = undefined;
|
|
323
|
+
this.normalScale = 1.0;
|
|
324
|
+
this.opacity = 1.0;
|
|
325
|
+
this.shading = viewer_shared_types_1.MATERIAL_SHADING.SMOOTH;
|
|
326
|
+
this.side = viewer_shared_types_1.MATERIAL_SIDE.DOUBLE;
|
|
327
|
+
this.transparent = undefined;
|
|
328
|
+
this.attenuationColor = "#ffffff";
|
|
329
|
+
this.attenuationDistance = Infinity;
|
|
330
|
+
this.clearcoat = 0;
|
|
331
|
+
this.clearcoatMap = undefined;
|
|
332
|
+
this.clearcoatNormalMap = undefined;
|
|
333
|
+
this.clearcoatRoughness = 0;
|
|
334
|
+
this.clearcoatRoughnessMap = undefined;
|
|
335
|
+
this.displacementMap = undefined;
|
|
336
|
+
this.displacementScale = 1;
|
|
337
|
+
this.displacementBias = 0;
|
|
338
|
+
this.envMap = undefined;
|
|
339
|
+
this.ior = 1;
|
|
340
|
+
this.metalness = 0;
|
|
341
|
+
this.metalnessMap = undefined;
|
|
342
|
+
this.metalnessRoughnessMap = undefined;
|
|
343
|
+
this.roughness = 0.5;
|
|
344
|
+
this.roughnessMap = undefined;
|
|
345
|
+
this.sheen = 0;
|
|
346
|
+
this.sheenColor = "#ffffff";
|
|
347
|
+
this.sheenColorMap = undefined;
|
|
348
|
+
this.sheenRoughness = 0;
|
|
349
|
+
this.sheenRoughnessMap = undefined;
|
|
350
|
+
this.specularColor = "#ffffff";
|
|
351
|
+
this.specularColorMap = undefined;
|
|
352
|
+
this.specularIntensity = 1;
|
|
353
|
+
this.specularIntensityMap = undefined;
|
|
354
|
+
this.thickness = 0.1;
|
|
355
|
+
this.thicknessMap = undefined;
|
|
356
|
+
this.transmission = 0;
|
|
357
|
+
this.transmissionMap = undefined;
|
|
358
|
+
}
|
|
359
|
+
clone() {
|
|
360
|
+
return new MaterialStandardData({
|
|
361
|
+
alphaMap: this.alphaMap,
|
|
362
|
+
alphaCutoff: this.alphaCutoff,
|
|
363
|
+
alphaMode: this.alphaMode,
|
|
364
|
+
aoMap: this.aoMap,
|
|
365
|
+
aoMapIntensity: this.aoMapIntensity,
|
|
366
|
+
bumpMap: this.bumpMap,
|
|
367
|
+
bumpScale: this.bumpScale,
|
|
368
|
+
color: this.color,
|
|
369
|
+
depthTest: this.depthTest,
|
|
370
|
+
depthWrite: this.depthWrite,
|
|
371
|
+
emissiveMap: this.emissiveMap,
|
|
372
|
+
emissiveness: this.emissiveness,
|
|
373
|
+
shading: this.shading,
|
|
374
|
+
map: this.map,
|
|
375
|
+
metalness: this.metalness,
|
|
376
|
+
metalnessMap: this.metalnessMap,
|
|
377
|
+
metalnessRoughnessMap: this.metalnessRoughnessMap,
|
|
378
|
+
name: this.name,
|
|
379
|
+
normalMap: this.normalMap,
|
|
380
|
+
normalScale: this.normalScale,
|
|
381
|
+
opacity: this.opacity,
|
|
382
|
+
roughness: this.roughness,
|
|
383
|
+
roughnessMap: this.roughnessMap,
|
|
384
|
+
side: this.side,
|
|
385
|
+
transparent: this.transparent,
|
|
386
|
+
clearcoat: this.clearcoat,
|
|
387
|
+
clearcoatMap: this.clearcoatMap,
|
|
388
|
+
clearcoatNormalMap: this.clearcoatNormalMap,
|
|
389
|
+
clearcoatRoughness: this.clearcoatRoughness,
|
|
390
|
+
clearcoatRoughnessMap: this.clearcoatRoughnessMap,
|
|
391
|
+
displacementMap: this.displacementMap,
|
|
392
|
+
displacementScale: this.displacementScale,
|
|
393
|
+
displacementBias: this.displacementBias,
|
|
394
|
+
envMap: this.envMap,
|
|
395
|
+
ior: this.ior,
|
|
396
|
+
transmission: this.transmission,
|
|
397
|
+
transmissionMap: this.transmissionMap,
|
|
398
|
+
thickness: this.thickness,
|
|
399
|
+
thicknessMap: this.thicknessMap,
|
|
400
|
+
attenuationDistance: this.attenuationDistance,
|
|
401
|
+
attenuationColor: this.attenuationColor,
|
|
402
|
+
sheen: this.sheen,
|
|
403
|
+
sheenColor: this.sheenColor,
|
|
404
|
+
sheenColorMap: this.sheenColorMap,
|
|
405
|
+
sheenRoughness: this.sheenRoughness,
|
|
406
|
+
sheenRoughnessMap: this.sheenRoughnessMap,
|
|
407
|
+
specularColor: this.specularColor,
|
|
408
|
+
specularColorMap: this.specularColorMap,
|
|
409
|
+
specularIntensity: this.specularIntensity,
|
|
410
|
+
specularIntensityMap: this.specularIntensityMap,
|
|
411
|
+
}, this.id, this.version);
|
|
412
|
+
}
|
|
413
|
+
copy(source) {
|
|
414
|
+
this.alphaCutoff = source.alphaCutoff;
|
|
415
|
+
this.alphaMap = source.alphaMap;
|
|
416
|
+
this.alphaMode = source.alphaMode;
|
|
417
|
+
this.aoMap = source.aoMap;
|
|
418
|
+
this.aoMapIntensity = source.aoMapIntensity;
|
|
419
|
+
this.bumpMap = source.bumpMap;
|
|
420
|
+
this.bumpScale = source.bumpScale;
|
|
421
|
+
this.color = source.color;
|
|
422
|
+
this.depthTest = source.depthTest;
|
|
423
|
+
this.depthWrite = source.depthWrite;
|
|
424
|
+
this.emissiveMap = source.emissiveMap;
|
|
425
|
+
this.emissiveness = source.emissiveness;
|
|
426
|
+
this.materialOutput = source.materialOutput;
|
|
427
|
+
this.map = source.map;
|
|
428
|
+
this.normalMap = source.normalMap;
|
|
429
|
+
this.normalScale = source.normalScale;
|
|
430
|
+
this.opacity = source.opacity;
|
|
431
|
+
this.shading = source.shading;
|
|
432
|
+
this.side = source.side;
|
|
433
|
+
this.transparent = source.transparent;
|
|
434
|
+
this.attenuationColor = source.attenuationColor;
|
|
435
|
+
this.attenuationDistance = source.attenuationDistance;
|
|
436
|
+
this.clearcoat = source.clearcoat;
|
|
437
|
+
this.clearcoatMap = source.clearcoatMap;
|
|
438
|
+
this.clearcoatNormalMap = source.clearcoatNormalMap;
|
|
439
|
+
this.clearcoatRoughness = source.clearcoatRoughness;
|
|
440
|
+
this.clearcoatRoughnessMap = source.clearcoatRoughnessMap;
|
|
441
|
+
this.displacementMap = source.displacementMap;
|
|
442
|
+
this.displacementScale = source.displacementScale;
|
|
443
|
+
this.displacementBias = source.displacementBias;
|
|
444
|
+
this.envMap = source.envMap;
|
|
445
|
+
this.ior = source.ior;
|
|
446
|
+
this.metalness = source.metalness;
|
|
447
|
+
this.metalnessMap = source.metalnessMap;
|
|
448
|
+
this.metalnessRoughnessMap = source.metalnessRoughnessMap;
|
|
449
|
+
this.roughness = source.roughness;
|
|
450
|
+
this.roughnessMap = source.roughnessMap;
|
|
451
|
+
this.sheen = source.sheen;
|
|
452
|
+
this.sheenColor = source.sheenColor;
|
|
453
|
+
this.sheenColorMap = source.sheenColorMap;
|
|
454
|
+
this.sheenRoughness = source.sheenRoughness;
|
|
455
|
+
this.sheenRoughnessMap = source.sheenRoughnessMap;
|
|
456
|
+
this.specularColor = source.specularColor;
|
|
457
|
+
this.specularColorMap = source.specularColorMap;
|
|
458
|
+
this.specularIntensity = source.specularIntensity;
|
|
459
|
+
this.specularIntensityMap = source.specularIntensityMap;
|
|
460
|
+
this.thickness = source.thickness;
|
|
461
|
+
this.thicknessMap = source.thicknessMap;
|
|
462
|
+
this.transmission = source.transmission;
|
|
463
|
+
this.transmissionMap = source.transmissionMap;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
exports.MaterialStandardData = MaterialStandardData;
|
|
467
|
+
_MaterialStandardData_attenuationColor = new WeakMap(), _MaterialStandardData_attenuationDistance = new WeakMap(), _MaterialStandardData_clearcoat = new WeakMap(), _MaterialStandardData_clearcoatMap = new WeakMap(), _MaterialStandardData_clearcoatNormalMap = new WeakMap(), _MaterialStandardData_clearcoatRoughness = new WeakMap(), _MaterialStandardData_clearcoatRoughnessMap = new WeakMap(), _MaterialStandardData_displacementMap = new WeakMap(), _MaterialStandardData_displacementScale = new WeakMap(), _MaterialStandardData_displacementBias = new WeakMap(), _MaterialStandardData_envMap = new WeakMap(), _MaterialStandardData_ior = new WeakMap(), _MaterialStandardData_metalness = new WeakMap(), _MaterialStandardData_metalnessMap = new WeakMap(), _MaterialStandardData_metalnessRoughnessMap = new WeakMap(), _MaterialStandardData_roughness = new WeakMap(), _MaterialStandardData_roughnessMap = new WeakMap(), _MaterialStandardData_sheen = new WeakMap(), _MaterialStandardData_sheenColor = new WeakMap(), _MaterialStandardData_sheenColorMap = new WeakMap(), _MaterialStandardData_sheenRoughness = new WeakMap(), _MaterialStandardData_sheenRoughnessMap = new WeakMap(), _MaterialStandardData_specularColor = new WeakMap(), _MaterialStandardData_specularColorMap = new WeakMap(), _MaterialStandardData_specularIntensity = new WeakMap(), _MaterialStandardData_specularIntensityMap = new WeakMap(), _MaterialStandardData_thickness = new WeakMap(), _MaterialStandardData_thicknessMap = new WeakMap(), _MaterialStandardData_transmission = new WeakMap(), _MaterialStandardData_transmissionMap = new WeakMap();
|
|
468
|
+
//# sourceMappingURL=MaterialStandardData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaterialStandardData.js","sourceRoot":"","sources":["../../../src/implementation/material/MaterialStandardData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yEAQyC;AACzC,iEAA4D;AAE5D,MAAa,oBACZ,SAAQ,2CAAoB;IAoC5B,6BAA6B;IAE7B,2BAA2B;IAE3B;;;;;OAKG;IACH,YACC,UAA4C,EAC5C,EAAW,EACX,OAAgB;QAEhB,KAAK,CAAC,UAAU,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;QAhDhC,0BAA0B;QAE1B,iDAA2B,SAAS,EAAC;QACrC,oDAAuB,QAAQ,EAAC;QAChC,0CAAqB,CAAC,EAAC;QACvB,qDAAyB;QACzB,2DAA+B;QAC/B,mDAA8B,CAAC,EAAC;QAChC,8DAAkC;QAClC,wDAA4B;QAC5B,kDAA6B,CAAC,EAAC;QAC/B,iDAA4B,CAAC,EAAC;QAC9B,+CAA4B;QAC5B,oCAAe,GAAG,EAAC;QACnB,0CAAa,GAAG,EAAC;QACjB,qDAAyB;QACzB,8DAAkC;QAClC,0CAAa,GAAG,EAAC;QACjB,qDAAyB;QACzB,sCAAS,GAAG,EAAC;QACb,2CAAqB,SAAS,EAAC;QAC/B,sDAA0B;QAC1B,+CAAkB,GAAG,EAAC;QACtB,0DAA8B;QAC9B,8CAAwB,SAAS,EAAC;QAClC,yDAA6B;QAC7B,kDAAqB,GAAG,EAAC;QACzB,6DAAiC;QACjC,0CAAa,GAAG,EAAC;QACjB,qDAAyB;QACzB,6CAAgB,GAAG,EAAC;QACpB,wDAA4B;QAkB3B,IAAI,CAAC,UAAU;YAAE,OAAO;QACxB,IAAI,UAAU,CAAC,SA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xC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;IAC/C,CAAC;CAGD;AAjhBD,oDAihBC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IMaterialUnlitData, IMaterialUnlitDataProperties } from "@shapediver/viewer.shared.types";
|
|
2
|
+
import { AbstractMaterialData } from "./AbstractMaterialData";
|
|
3
|
+
export declare class MaterialUnlitData extends AbstractMaterialData implements IMaterialUnlitData {
|
|
4
|
+
#private;
|
|
5
|
+
/**
|
|
6
|
+
* Creates a material data object.
|
|
7
|
+
*
|
|
8
|
+
* @param _attributes the attributes of the material
|
|
9
|
+
* @param id the id
|
|
10
|
+
*/
|
|
11
|
+
constructor(properties?: IMaterialUnlitDataProperties, id?: string, version?: string);
|
|
12
|
+
get envMap(): string | string[] | undefined;
|
|
13
|
+
set envMap(value: string | string[] | undefined);
|
|
14
|
+
clone(): IMaterialUnlitData;
|
|
15
|
+
copy(source: MaterialUnlitData): void;
|
|
16
|
+
reset(): void;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=MaterialUnlitData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaterialUnlitData.d.ts","sourceRoot":"","sources":["../../../src/implementation/material/MaterialUnlitData.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,EAClB,4BAA4B,EAI5B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;AAE5D,qBAAa,iBACZ,SAAQ,oBACR,YAAW,kBAAkB;;IAU7B;;;;;OAKG;gBAEF,UAAU,CAAC,EAAE,4BAA4B,EACzC,EAAE,CAAC,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM;IAWjB,IAAW,MAAM,IAAI,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAEjD;IAED,IAAW,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,EAErD;IAMM,KAAK,IAAI,kBAAkB;IA8B3B,IAAI,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI;IAwBrC,KAAK,IAAI,IAAI;CAyBpB"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
+
};
|
|
7
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
8
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
11
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12
|
+
};
|
|
13
|
+
var _MaterialUnlitData_envMap;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MaterialUnlitData = void 0;
|
|
16
|
+
const viewer_shared_types_1 = require("@shapediver/viewer.shared.types");
|
|
17
|
+
const AbstractMaterialData_1 = require("./AbstractMaterialData");
|
|
18
|
+
class MaterialUnlitData extends AbstractMaterialData_1.AbstractMaterialData {
|
|
19
|
+
// #endregion Properties (1)
|
|
20
|
+
// #region Constructors (1)
|
|
21
|
+
/**
|
|
22
|
+
* Creates a material data object.
|
|
23
|
+
*
|
|
24
|
+
* @param _attributes the attributes of the material
|
|
25
|
+
* @param id the id
|
|
26
|
+
*/
|
|
27
|
+
constructor(properties, id, version) {
|
|
28
|
+
super(properties, id, version);
|
|
29
|
+
// #region Properties (1)
|
|
30
|
+
_MaterialUnlitData_envMap.set(this, void 0);
|
|
31
|
+
if (!properties)
|
|
32
|
+
return;
|
|
33
|
+
if (properties.envMap !== undefined)
|
|
34
|
+
this.envMap = properties.envMap;
|
|
35
|
+
}
|
|
36
|
+
// #endregion Constructors (1)
|
|
37
|
+
// #region Public Accessors (2)
|
|
38
|
+
get envMap() {
|
|
39
|
+
return __classPrivateFieldGet(this, _MaterialUnlitData_envMap, "f");
|
|
40
|
+
}
|
|
41
|
+
set envMap(value) {
|
|
42
|
+
__classPrivateFieldSet(this, _MaterialUnlitData_envMap, value, "f");
|
|
43
|
+
}
|
|
44
|
+
// #endregion Public Accessors (2)
|
|
45
|
+
// #region Public Methods (3)
|
|
46
|
+
clone() {
|
|
47
|
+
return new MaterialUnlitData({
|
|
48
|
+
alphaMap: this.alphaMap,
|
|
49
|
+
alphaCutoff: this.alphaCutoff,
|
|
50
|
+
alphaMode: this.alphaMode,
|
|
51
|
+
aoMap: this.aoMap,
|
|
52
|
+
aoMapIntensity: this.aoMapIntensity,
|
|
53
|
+
bumpMap: this.bumpMap,
|
|
54
|
+
bumpScale: this.bumpScale,
|
|
55
|
+
color: this.color,
|
|
56
|
+
depthTest: this.depthTest,
|
|
57
|
+
depthWrite: this.depthWrite,
|
|
58
|
+
emissiveMap: this.emissiveMap,
|
|
59
|
+
emissiveness: this.emissiveness,
|
|
60
|
+
shading: this.shading,
|
|
61
|
+
map: this.map,
|
|
62
|
+
name: this.name,
|
|
63
|
+
normalMap: this.normalMap,
|
|
64
|
+
normalScale: this.normalScale,
|
|
65
|
+
opacity: this.opacity,
|
|
66
|
+
side: this.side,
|
|
67
|
+
transparent: this.transparent,
|
|
68
|
+
envMap: this.envMap,
|
|
69
|
+
}, this.id, this.version);
|
|
70
|
+
}
|
|
71
|
+
copy(source) {
|
|
72
|
+
this.alphaCutoff = source.alphaCutoff;
|
|
73
|
+
this.alphaMap = source.alphaMap;
|
|
74
|
+
this.alphaMode = source.alphaMode;
|
|
75
|
+
this.aoMap = source.aoMap;
|
|
76
|
+
this.aoMapIntensity = source.aoMapIntensity;
|
|
77
|
+
this.bumpMap = source.bumpMap;
|
|
78
|
+
this.bumpScale = source.bumpScale;
|
|
79
|
+
this.color = source.color;
|
|
80
|
+
this.depthTest = source.depthTest;
|
|
81
|
+
this.depthWrite = source.depthWrite;
|
|
82
|
+
this.emissiveMap = source.emissiveMap;
|
|
83
|
+
this.emissiveness = source.emissiveness;
|
|
84
|
+
this.materialOutput = source.materialOutput;
|
|
85
|
+
this.map = source.map;
|
|
86
|
+
this.normalMap = source.normalMap;
|
|
87
|
+
this.normalScale = source.normalScale;
|
|
88
|
+
this.opacity = source.opacity;
|
|
89
|
+
this.shading = source.shading;
|
|
90
|
+
this.side = source.side;
|
|
91
|
+
this.envMap = source.envMap;
|
|
92
|
+
this.transparent = source.transparent;
|
|
93
|
+
}
|
|
94
|
+
reset() {
|
|
95
|
+
this.alphaCutoff = 0;
|
|
96
|
+
this.alphaMap = undefined;
|
|
97
|
+
this.alphaMode = viewer_shared_types_1.MATERIAL_ALPHA.OPAQUE;
|
|
98
|
+
this.aoMap = undefined;
|
|
99
|
+
this.aoMapIntensity = 1.0;
|
|
100
|
+
this.bumpMap = undefined;
|
|
101
|
+
this.bumpScale = 1.0;
|
|
102
|
+
this.color = "#ffffff";
|
|
103
|
+
this.depthTest = undefined;
|
|
104
|
+
this.depthWrite = undefined;
|
|
105
|
+
this.emissiveMap = undefined;
|
|
106
|
+
this.emissiveness = "#000000";
|
|
107
|
+
this.materialOutput = false;
|
|
108
|
+
this.map = undefined;
|
|
109
|
+
this.normalMap = undefined;
|
|
110
|
+
this.normalScale = 1.0;
|
|
111
|
+
this.opacity = 1.0;
|
|
112
|
+
this.shading = viewer_shared_types_1.MATERIAL_SHADING.SMOOTH;
|
|
113
|
+
this.side = viewer_shared_types_1.MATERIAL_SIDE.DOUBLE;
|
|
114
|
+
this.transparent = undefined;
|
|
115
|
+
this.envMap = undefined;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.MaterialUnlitData = MaterialUnlitData;
|
|
119
|
+
_MaterialUnlitData_envMap = new WeakMap();
|
|
120
|
+
//# sourceMappingURL=MaterialUnlitData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaterialUnlitData.js","sourceRoot":"","sources":["../../../src/implementation/material/MaterialUnlitData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yEAMyC;AACzC,iEAA4D;AAE5D,MAAa,iBACZ,SAAQ,2CAAoB;IAO5B,4BAA4B;IAE5B,2BAA2B;IAE3B;;;;;OAKG;IACH,YACC,UAAyC,EACzC,EAAW,EACX,OAAgB;QAEhB,KAAK,CAAC,UAAU,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;QAnBhC,yBAAyB;QAEzB,4CAA4B;QAkB3B,IAAI,CAAC,UAAU;YAAE,OAAO;QACxB,IAAI,UAAU,CAAC,MAAM,KAAK,SAAS;YAAE,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IACtE,CAAC;IAED,8BAA8B;IAE9B,+BAA+B;IAE/B,IAAW,MAAM;QAChB,OAAO,uBAAA,IAAI,iCAAQ,CAAC;IACrB,CAAC;IAED,IAAW,MAAM,CAAC,KAAoC;QACrD,uBAAA,IAAI,6BAAW,KAAK,MAAA,CAAC;IACtB,CAAC;IAED,kCAAkC;IAElC,6BAA6B;IAEtB,KAAK;QACX,OAAO,IAAI,iBAAiB,CAC3B;YACC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,C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