@shapediver/viewer.shared.types 3.3.3 → 3.3.6
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/data/GeometryData.d.ts.map +1 -1
- package/dist/implementation/data/GeometryData.js +1 -0
- package/dist/implementation/data/GeometryData.js.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts +121 -0
- package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts.map +1 -0
- package/dist/interfaces/parameter/IDrawingParametersSettings.js +22 -0
- package/dist/interfaces/parameter/IDrawingParametersSettings.js.map +1 -0
- package/dist/interfaces/parameter/IDrawingToolsParametersSettings.d.ts +159 -0
- package/dist/interfaces/parameter/IDrawingToolsParametersSettings.d.ts.map +1 -0
- package/dist/interfaces/parameter/IDrawingToolsParametersSettings.js +29 -0
- package/dist/interfaces/parameter/IDrawingToolsParametersSettings.js.map +1 -0
- package/dist/interfaces/parameter/IGumballParameterSettings.d.ts +1 -5
- package/dist/interfaces/parameter/IGumballParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IGumballParameterSettings.js +0 -7
- package/dist/interfaces/parameter/IGumballParameterSettings.js.map +1 -1
- package/dist/interfaces/parameter/ISelectionParameterSettings.d.ts +1 -5
- package/dist/interfaces/parameter/ISelectionParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/ISelectionParameterSettings.js +0 -7
- package/dist/interfaces/parameter/ISelectionParameterSettings.js.map +1 -1
- package/package.json +7 -8
- package/src/implementation/data/AnimationData.ts +0 -310
- package/src/implementation/data/BoneData.ts +0 -32
- package/src/implementation/data/CustomData.ts +0 -52
- package/src/implementation/data/GeometryData.ts +0 -426
- package/src/implementation/data/HTMLElementAnchorData.ts +0 -365
- package/src/implementation/material/AbstractMaterialData.ts +0 -268
- package/src/implementation/material/MapData.ts +0 -218
- package/src/implementation/material/MaterialBasicLineData.ts +0 -99
- package/src/implementation/material/MaterialGemData.ts +0 -310
- package/src/implementation/material/MaterialMultiPointData.ts +0 -659
- package/src/implementation/material/MaterialPointData.ts +0 -136
- package/src/implementation/material/MaterialShadowData.ts +0 -45
- package/src/implementation/material/MaterialSpecularGlossinessData.ts +0 -191
- package/src/implementation/material/MaterialStandardData.ts +0 -502
- package/src/implementation/material/MaterialUnlitData.ts +0 -122
- package/src/implementation/material/MaterialVariantsData.ts +0 -60
- package/src/implementation/sdtf/SDTFAttributesData.ts +0 -128
- package/src/implementation/sdtf/SDTFItemData.ts +0 -72
- package/src/implementation/sdtf/SDTFOverviewData.ts +0 -80
- package/src/index.ts +0 -141
- package/src/interfaces/data/IAnimationData.ts +0 -42
- package/src/interfaces/data/IBoneData.ts +0 -9
- package/src/interfaces/data/ICustomData.ts +0 -15
- package/src/interfaces/data/IGeometryData.ts +0 -87
- package/src/interfaces/data/IHTMLElementAnchorData.ts +0 -68
- package/src/interfaces/data/material/IMapData.ts +0 -64
- package/src/interfaces/data/material/IMaterialAbstractData.ts +0 -86
- package/src/interfaces/data/material/IMaterialBasicLineData.ts +0 -21
- package/src/interfaces/data/material/IMaterialGemDataProperties.ts +0 -46
- package/src/interfaces/data/material/IMaterialMultiPointData.ts +0 -72
- package/src/interfaces/data/material/IMaterialPointData.ts +0 -31
- package/src/interfaces/data/material/IMaterialShadowData.ts +0 -21
- package/src/interfaces/data/material/IMaterialSpecularGlossinessDataProperties.ts +0 -36
- package/src/interfaces/data/material/IMaterialStandardData.ts +0 -60
- package/src/interfaces/data/material/IMaterialUnlitData.ts +0 -30
- package/src/interfaces/data/material/IMaterialVariantsData.ts +0 -19
- package/src/interfaces/events/EventResponseMapping.ts +0 -53
- package/src/interfaces/events/ICameraEvent.ts +0 -16
- package/src/interfaces/events/IOutputEvent.ts +0 -29
- package/src/interfaces/events/IParameterEvent.ts +0 -21
- package/src/interfaces/events/IRenderingEvent.ts +0 -7
- package/src/interfaces/events/ISceneEvent.ts +0 -17
- package/src/interfaces/events/ISessionEvent.ts +0 -16
- package/src/interfaces/events/ITaskEvent.ts +0 -61
- package/src/interfaces/events/IViewportEvent.ts +0 -13
- package/src/interfaces/parameter/IGumballParameterSettings.ts +0 -44
- package/src/interfaces/parameter/IInteractionParameterSettings.ts +0 -85
- package/src/interfaces/parameter/ISelectionParameterSettings.ts +0 -37
- package/src/interfaces/sdtf/ISDTFAttributeVisualizationData.ts +0 -7
- package/src/interfaces/sdtf/ISDTFAttributesData.ts +0 -27
- package/src/interfaces/sdtf/ISDTFItemData.ts +0 -23
- package/src/interfaces/sdtf/ISDTFOverviewData.ts +0 -31
- package/src/types.ts +0 -68
- package/tsconfig.json +0 -17
|
@@ -1,659 +0,0 @@
|
|
|
1
|
-
import { AbstractMaterialData } from './AbstractMaterialData';
|
|
2
|
-
import { MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE } from '../../interfaces/data/material/IMaterialAbstractData';
|
|
3
|
-
import { IMaterialMultiPointData, IMaterialMultiPointDataProperties } from '../../interfaces/data/material/IMaterialMultiPointData';
|
|
4
|
-
import { IMapData } from '../../interfaces/data/material/IMapData';
|
|
5
|
-
import { Color } from '../../types';
|
|
6
|
-
|
|
7
|
-
export class MaterialMultiPointData extends AbstractMaterialData implements IMaterialMultiPointData {
|
|
8
|
-
// #region Properties (20)
|
|
9
|
-
|
|
10
|
-
#alphaMap_0?: IMapData = undefined;
|
|
11
|
-
#alphaMap_1?: IMapData = undefined;
|
|
12
|
-
#alphaMap_2?: IMapData = undefined;
|
|
13
|
-
#alphaMap_3?: IMapData = undefined;
|
|
14
|
-
#alphaMap_4?: IMapData = undefined;
|
|
15
|
-
#alphaMap_5?: IMapData = undefined;
|
|
16
|
-
#alphaMap_6?: IMapData = undefined;
|
|
17
|
-
#alphaMap_7?: IMapData = undefined;
|
|
18
|
-
#color_0?: Color = '#ffffff';
|
|
19
|
-
#color_1?: Color = '#ffffff';
|
|
20
|
-
#color_2?: Color = '#ffffff';
|
|
21
|
-
#color_3?: Color = '#ffffff';
|
|
22
|
-
#color_4?: Color = '#ffffff';
|
|
23
|
-
#color_5?: Color = '#ffffff';
|
|
24
|
-
#color_6?: Color = '#ffffff';
|
|
25
|
-
#color_7?: Color = '#ffffff';
|
|
26
|
-
#map_0?: IMapData = undefined;
|
|
27
|
-
#map_1?: IMapData = undefined;
|
|
28
|
-
#map_2?: IMapData = undefined;
|
|
29
|
-
#map_3?: IMapData = undefined;
|
|
30
|
-
#map_4?: IMapData = undefined;
|
|
31
|
-
#map_5?: IMapData = undefined;
|
|
32
|
-
#map_6?: IMapData = undefined;
|
|
33
|
-
#map_7?: IMapData = undefined;
|
|
34
|
-
#materialIndexDataMap?: IMapData = undefined;
|
|
35
|
-
#materialIndexDataMapSize?: number = undefined;
|
|
36
|
-
#sizeAttenuation_0?: boolean = undefined;
|
|
37
|
-
#sizeAttenuation_1?: boolean = undefined;
|
|
38
|
-
#sizeAttenuation_2?: boolean = undefined;
|
|
39
|
-
#sizeAttenuation_3?: boolean = undefined;
|
|
40
|
-
#sizeAttenuation_4?: boolean = undefined;
|
|
41
|
-
#sizeAttenuation_5?: boolean = undefined;
|
|
42
|
-
#sizeAttenuation_6?: boolean = undefined;
|
|
43
|
-
#sizeAttenuation_7?: boolean = undefined;
|
|
44
|
-
#size_0?: number = undefined;
|
|
45
|
-
#size_1?: number = undefined;
|
|
46
|
-
#size_2?: number = undefined;
|
|
47
|
-
#size_3?: number = undefined;
|
|
48
|
-
#size_4?: number = undefined;
|
|
49
|
-
#size_5?: number = undefined;
|
|
50
|
-
#size_6?: number = undefined;
|
|
51
|
-
#size_7?: number = undefined;
|
|
52
|
-
|
|
53
|
-
// #endregion Properties (20)
|
|
54
|
-
|
|
55
|
-
// #region Constructors (1)
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Creates a material data object.
|
|
59
|
-
*
|
|
60
|
-
* @param _attributes the attributes of the material
|
|
61
|
-
* @param id the id
|
|
62
|
-
*/
|
|
63
|
-
constructor(
|
|
64
|
-
properties?: IMaterialMultiPointDataProperties,
|
|
65
|
-
id?: string,
|
|
66
|
-
version?: string
|
|
67
|
-
) {
|
|
68
|
-
super(properties, id, version);
|
|
69
|
-
if (!properties) return;
|
|
70
|
-
|
|
71
|
-
if (properties.materialIndexDataMap !== undefined) this.materialIndexDataMap = properties.materialIndexDataMap;
|
|
72
|
-
if (properties.materialIndexDataMapSize !== undefined) this.materialIndexDataMapSize = properties.materialIndexDataMapSize;
|
|
73
|
-
|
|
74
|
-
if (properties.alphaMap_0 !== undefined) this.alphaMap_0 = properties.alphaMap_0;
|
|
75
|
-
if (properties.color_0 !== undefined) this.color_0 = properties.color_0;
|
|
76
|
-
if (properties.map_0 !== undefined) this.map_0 = properties.map_0;
|
|
77
|
-
if (properties.size_0 !== undefined) this.size_0 = properties.size_0;
|
|
78
|
-
if (properties.sizeAttenuation_0 !== undefined) this.sizeAttenuation_0 = properties.sizeAttenuation_0;
|
|
79
|
-
|
|
80
|
-
if (properties.alphaMap_1 !== undefined) this.alphaMap_1 = properties.alphaMap_1;
|
|
81
|
-
if (properties.color_1 !== undefined) this.color_1 = properties.color_1;
|
|
82
|
-
if (properties.map_1 !== undefined) this.map_1 = properties.map_1;
|
|
83
|
-
if (properties.size_1 !== undefined) this.size_1 = properties.size_1;
|
|
84
|
-
if (properties.sizeAttenuation_1 !== undefined) this.sizeAttenuation_1 = properties.sizeAttenuation_1;
|
|
85
|
-
|
|
86
|
-
if (properties.alphaMap_2 !== undefined) this.alphaMap_2 = properties.alphaMap_2;
|
|
87
|
-
if (properties.color_2 !== undefined) this.color_2 = properties.color_2;
|
|
88
|
-
if (properties.map_2 !== undefined) this.map_2 = properties.map_2;
|
|
89
|
-
if (properties.size_2 !== undefined) this.size_2 = properties.size_2;
|
|
90
|
-
if (properties.sizeAttenuation_2 !== undefined) this.sizeAttenuation_2 = properties.sizeAttenuation_2;
|
|
91
|
-
|
|
92
|
-
if (properties.alphaMap_3 !== undefined) this.alphaMap_3 = properties.alphaMap_3;
|
|
93
|
-
if (properties.color_3 !== undefined) this.color_3 = properties.color_3;
|
|
94
|
-
if (properties.map_3 !== undefined) this.map_3 = properties.map_3;
|
|
95
|
-
if (properties.size_3 !== undefined) this.size_3 = properties.size_3;
|
|
96
|
-
if (properties.sizeAttenuation_3 !== undefined) this.sizeAttenuation_3 = properties.sizeAttenuation_3;
|
|
97
|
-
|
|
98
|
-
if (properties.alphaMap_4 !== undefined) this.alphaMap_4 = properties.alphaMap_4;
|
|
99
|
-
if (properties.color_4 !== undefined) this.color_4 = properties.color_4;
|
|
100
|
-
if (properties.map_4 !== undefined) this.map_4 = properties.map_4;
|
|
101
|
-
if (properties.size_4 !== undefined) this.size_4 = properties.size_4;
|
|
102
|
-
if (properties.sizeAttenuation_4 !== undefined) this.sizeAttenuation_4 = properties.sizeAttenuation_4;
|
|
103
|
-
|
|
104
|
-
if (properties.alphaMap_5 !== undefined) this.alphaMap_5 = properties.alphaMap_5;
|
|
105
|
-
if (properties.color_5 !== undefined) this.color_5 = properties.color_5;
|
|
106
|
-
if (properties.map_5 !== undefined) this.map_5 = properties.map_5;
|
|
107
|
-
if (properties.size_5 !== undefined) this.size_5 = properties.size_5;
|
|
108
|
-
if (properties.sizeAttenuation_5 !== undefined) this.sizeAttenuation_5 = properties.sizeAttenuation_5;
|
|
109
|
-
|
|
110
|
-
if (properties.alphaMap_6 !== undefined) this.alphaMap_6 = properties.alphaMap_6;
|
|
111
|
-
if (properties.color_6 !== undefined) this.color_6 = properties.color_6;
|
|
112
|
-
if (properties.map_6 !== undefined) this.map_6 = properties.map_6;
|
|
113
|
-
if (properties.size_6 !== undefined) this.size_6 = properties.size_6;
|
|
114
|
-
if (properties.sizeAttenuation_6 !== undefined) this.sizeAttenuation_6 = properties.sizeAttenuation_6;
|
|
115
|
-
|
|
116
|
-
if (properties.alphaMap_7 !== undefined) this.alphaMap_7 = properties.alphaMap_7;
|
|
117
|
-
if (properties.color_7 !== undefined) this.color_7 = properties.color_7;
|
|
118
|
-
if (properties.map_7 !== undefined) this.map_7 = properties.map_7;
|
|
119
|
-
if (properties.size_7 !== undefined) this.size_7 = properties.size_7;
|
|
120
|
-
if (properties.sizeAttenuation_7 !== undefined) this.sizeAttenuation_7 = properties.sizeAttenuation_7;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// #endregion Constructors (1)
|
|
124
|
-
|
|
125
|
-
// #region Public Getters And Setters (40)
|
|
126
|
-
|
|
127
|
-
public get alphaMap_0(): IMapData | undefined {
|
|
128
|
-
return this.#alphaMap_0;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
public set alphaMap_0(value: IMapData | undefined) {
|
|
132
|
-
this.#alphaMap_0 = value;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
public get alphaMap_1(): IMapData | undefined {
|
|
136
|
-
return this.#alphaMap_1;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
public set alphaMap_1(value: IMapData | undefined) {
|
|
140
|
-
this.#alphaMap_1 = value;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
public get alphaMap_2(): IMapData | undefined {
|
|
144
|
-
return this.#alphaMap_2;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
public set alphaMap_2(value: IMapData | undefined) {
|
|
148
|
-
this.#alphaMap_2 = value;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
public get color_0(): Color | undefined {
|
|
152
|
-
return this.#color_0;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
public set color_0(value: Color | undefined) {
|
|
156
|
-
this.#color_0 = value;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
public get color_1(): Color | undefined {
|
|
160
|
-
return this.#color_1;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
public set color_1(value: Color | undefined) {
|
|
164
|
-
this.#color_1 = value;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
public get color_2(): Color | undefined {
|
|
168
|
-
return this.#color_2;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
public set color_2(value: Color | undefined) {
|
|
172
|
-
this.#color_2 = value;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
public get map_0(): IMapData | undefined {
|
|
176
|
-
return this.#map_0;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
public set map_0(value: IMapData | undefined) {
|
|
180
|
-
this.#map_0 = value;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
public get map_1(): IMapData | undefined {
|
|
184
|
-
return this.#map_1;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
public set map_1(value: IMapData | undefined) {
|
|
188
|
-
this.#map_1 = value;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
public get map_2(): IMapData | undefined {
|
|
192
|
-
return this.#map_2;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
public set map_2(value: IMapData | undefined) {
|
|
196
|
-
this.#map_2 = value;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
public get materialIndexDataMap(): IMapData | undefined {
|
|
200
|
-
return this.#materialIndexDataMap;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
public set materialIndexDataMap(value: IMapData | undefined) {
|
|
204
|
-
this.#materialIndexDataMap = value;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
public get materialIndexDataMapSize(): number | undefined {
|
|
208
|
-
return this.#materialIndexDataMapSize;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
public set materialIndexDataMapSize(value: number | undefined) {
|
|
212
|
-
this.#materialIndexDataMapSize = value;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
public get sizeAttenuation_0(): boolean | undefined {
|
|
216
|
-
return this.#sizeAttenuation_0;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
public set sizeAttenuation_0(value: boolean | undefined) {
|
|
220
|
-
this.#sizeAttenuation_0 = value;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
public get sizeAttenuation_1(): boolean | undefined {
|
|
224
|
-
return this.#sizeAttenuation_1;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
public set sizeAttenuation_1(value: boolean | undefined) {
|
|
228
|
-
this.#sizeAttenuation_1 = value;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
public get sizeAttenuation_2(): boolean | undefined {
|
|
232
|
-
return this.#sizeAttenuation_2;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
public set sizeAttenuation_2(value: boolean | undefined) {
|
|
236
|
-
this.#sizeAttenuation_2 = value;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
public get size_0(): number | undefined {
|
|
240
|
-
return this.#size_0;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
public set size_0(value: number | undefined) {
|
|
244
|
-
this.#size_0 = value;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
public get size_1(): number | undefined {
|
|
248
|
-
return this.#size_1;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
public set size_1(value: number | undefined) {
|
|
252
|
-
this.#size_1 = value;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
public get size_2(): number | undefined {
|
|
256
|
-
return this.#size_2;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
public set size_2(value: number | undefined) {
|
|
260
|
-
this.#size_2 = value;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
public get alphaMap_3(): IMapData | undefined {
|
|
264
|
-
return this.#alphaMap_3;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
public set alphaMap_3(value: IMapData | undefined) {
|
|
268
|
-
this.#alphaMap_3 = value;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
public get color_3(): Color | undefined {
|
|
272
|
-
return this.#color_3;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
public set color_3(value: Color | undefined) {
|
|
276
|
-
this.#color_3 = value;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
public get map_3(): IMapData | undefined {
|
|
280
|
-
return this.#map_3;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
public set map_3(value: IMapData | undefined) {
|
|
284
|
-
this.#map_3 = value;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
public get size_3(): number | undefined {
|
|
288
|
-
return this.#size_3;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
public set size_3(value: number | undefined) {
|
|
292
|
-
this.#size_3 = value;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
public get sizeAttenuation_3(): boolean | undefined {
|
|
296
|
-
return this.#sizeAttenuation_3;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
public set sizeAttenuation_3(value: boolean | undefined) {
|
|
300
|
-
this.#sizeAttenuation_3 = value;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
public get alphaMap_4(): IMapData | undefined {
|
|
304
|
-
return this.#alphaMap_4;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
public set alphaMap_4(value: IMapData | undefined) {
|
|
308
|
-
this.#alphaMap_4 = value;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
public get color_4(): Color | undefined {
|
|
312
|
-
return this.#color_4;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
public set color_4(value: Color | undefined) {
|
|
316
|
-
this.#color_4 = value;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
public get map_4(): IMapData | undefined {
|
|
320
|
-
return this.#map_4;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
public set map_4(value: IMapData | undefined) {
|
|
324
|
-
this.#map_4 = value;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
public get size_4(): number | undefined {
|
|
328
|
-
return this.#size_4;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
public set size_4(value: number | undefined) {
|
|
332
|
-
this.#size_4 = value;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
public get sizeAttenuation_4(): boolean | undefined {
|
|
336
|
-
return this.#sizeAttenuation_4;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
public set sizeAttenuation_4(value: boolean | undefined) {
|
|
340
|
-
this.#sizeAttenuation_4 = value;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
public get alphaMap_5(): IMapData | undefined {
|
|
344
|
-
return this.#alphaMap_5;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
public set alphaMap_5(value: IMapData | undefined) {
|
|
348
|
-
this.#alphaMap_5 = value;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
public get color_5(): Color | undefined {
|
|
352
|
-
return this.#color_5;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
public set color_5(value: Color | undefined) {
|
|
356
|
-
this.#color_5 = value;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
public get map_5(): IMapData | undefined {
|
|
360
|
-
return this.#map_5;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
public set map_5(value: IMapData | undefined) {
|
|
364
|
-
this.#map_5 = value;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
public get size_5(): number | undefined {
|
|
368
|
-
return this.#size_5;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
public set size_5(value: number | undefined) {
|
|
372
|
-
this.#size_5 = value;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
public get sizeAttenuation_5(): boolean | undefined {
|
|
376
|
-
return this.#sizeAttenuation_5;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
public set sizeAttenuation_5(value: boolean | undefined) {
|
|
380
|
-
this.#sizeAttenuation_5 = value;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
public get alphaMap_6(): IMapData | undefined {
|
|
384
|
-
return this.#alphaMap_6;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
public set alphaMap_6(value: IMapData | undefined) {
|
|
388
|
-
this.#alphaMap_6 = value;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
public get color_6(): Color | undefined {
|
|
392
|
-
return this.#color_6;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
public set color_6(value: Color | undefined) {
|
|
396
|
-
this.#color_6 = value;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
public get map_6(): IMapData | undefined {
|
|
400
|
-
return this.#map_6;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
public set map_6(value: IMapData | undefined) {
|
|
404
|
-
this.#map_6 = value;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
public get size_6(): number | undefined {
|
|
408
|
-
return this.#size_6;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
public set size_6(value: number | undefined) {
|
|
412
|
-
this.#size_6 = value;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
public get sizeAttenuation_6(): boolean | undefined {
|
|
416
|
-
return this.#sizeAttenuation_6;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
public set sizeAttenuation_6(value: boolean | undefined) {
|
|
420
|
-
this.#sizeAttenuation_6 = value;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
public get alphaMap_7(): IMapData | undefined {
|
|
424
|
-
return this.#alphaMap_7;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
public set alphaMap_7(value: IMapData | undefined) {
|
|
428
|
-
this.#alphaMap_7 = value;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
public get color_7(): Color | undefined {
|
|
432
|
-
return this.#color_7;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
public set color_7(value: Color | undefined) {
|
|
436
|
-
this.#color_7 = value;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
public get map_7(): IMapData | undefined {
|
|
440
|
-
return this.#map_7;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
public set map_7(value: IMapData | undefined) {
|
|
444
|
-
this.#map_7 = value;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
public get size_7(): number | undefined {
|
|
448
|
-
return this.#size_7;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
public set size_7(value: number | undefined) {
|
|
452
|
-
this.#size_7 = value;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
public get sizeAttenuation_7(): boolean | undefined {
|
|
456
|
-
return this.#sizeAttenuation_7;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
public set sizeAttenuation_7(value: boolean | undefined) {
|
|
460
|
-
this.#sizeAttenuation_7 = value;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
// #endregion Public Getters And Setters (40)
|
|
464
|
-
|
|
465
|
-
// #region Public Methods (3)
|
|
466
|
-
|
|
467
|
-
public clone(): IMaterialMultiPointData {
|
|
468
|
-
return new MaterialMultiPointData({
|
|
469
|
-
alphaMode: this.alphaMode,
|
|
470
|
-
alphaCutoff: this.alphaCutoff,
|
|
471
|
-
aoMap: this.aoMap,
|
|
472
|
-
aoMapIntensity: this.aoMapIntensity,
|
|
473
|
-
bumpMap: this.bumpMap,
|
|
474
|
-
bumpScale: this.bumpScale,
|
|
475
|
-
depthTest: this.depthTest,
|
|
476
|
-
depthWrite: this.depthWrite,
|
|
477
|
-
emissiveMap: this.emissiveMap,
|
|
478
|
-
emissiveness: this.emissiveness,
|
|
479
|
-
shading: this.shading,
|
|
480
|
-
name: this.name,
|
|
481
|
-
normalMap: this.normalMap,
|
|
482
|
-
normalScale: this.normalScale,
|
|
483
|
-
opacity: this.opacity,
|
|
484
|
-
side: this.side,
|
|
485
|
-
transparent: this.transparent,
|
|
486
|
-
|
|
487
|
-
alphaMap_0: this.alphaMap_0,
|
|
488
|
-
alphaMap_1: this.alphaMap_1,
|
|
489
|
-
alphaMap_2: this.alphaMap_2,
|
|
490
|
-
alphaMap_3: this.alphaMap_3,
|
|
491
|
-
alphaMap_4: this.alphaMap_4,
|
|
492
|
-
alphaMap_5: this.alphaMap_5,
|
|
493
|
-
alphaMap_6: this.alphaMap_6,
|
|
494
|
-
alphaMap_7: this.alphaMap_7,
|
|
495
|
-
color_0: this.color_0,
|
|
496
|
-
color_1: this.color_1,
|
|
497
|
-
color_2: this.color_2,
|
|
498
|
-
color_3: this.color_3,
|
|
499
|
-
color_4: this.color_4,
|
|
500
|
-
color_5: this.color_5,
|
|
501
|
-
color_6: this.color_6,
|
|
502
|
-
color_7: this.color_7,
|
|
503
|
-
map_0: this.map_0,
|
|
504
|
-
map_1: this.map_1,
|
|
505
|
-
map_2: this.map_2,
|
|
506
|
-
map_3: this.map_3,
|
|
507
|
-
map_4: this.map_4,
|
|
508
|
-
map_5: this.map_5,
|
|
509
|
-
map_6: this.map_6,
|
|
510
|
-
map_7: this.map_7,
|
|
511
|
-
materialIndexDataMap: this.materialIndexDataMap,
|
|
512
|
-
materialIndexDataMapSize: this.materialIndexDataMapSize,
|
|
513
|
-
size_0: this.size_0,
|
|
514
|
-
size_1: this.size_1,
|
|
515
|
-
size_2: this.size_2,
|
|
516
|
-
size_3: this.size_3,
|
|
517
|
-
size_4: this.size_4,
|
|
518
|
-
size_5: this.size_5,
|
|
519
|
-
size_6: this.size_6,
|
|
520
|
-
size_7: this.size_7,
|
|
521
|
-
sizeAttenuation_0: this.sizeAttenuation_0,
|
|
522
|
-
sizeAttenuation_1: this.sizeAttenuation_1,
|
|
523
|
-
sizeAttenuation_2: this.sizeAttenuation_2,
|
|
524
|
-
sizeAttenuation_3: this.sizeAttenuation_3,
|
|
525
|
-
sizeAttenuation_4: this.sizeAttenuation_4,
|
|
526
|
-
sizeAttenuation_5: this.sizeAttenuation_5,
|
|
527
|
-
sizeAttenuation_6: this.sizeAttenuation_6,
|
|
528
|
-
sizeAttenuation_7: this.sizeAttenuation_7
|
|
529
|
-
}, this.id, this.version);
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
public copy(source: MaterialMultiPointData): void {
|
|
533
|
-
this.alphaCutoff = source.alphaCutoff;
|
|
534
|
-
this.alphaMode = source.alphaMode;
|
|
535
|
-
this.aoMap = source.aoMap;
|
|
536
|
-
this.aoMapIntensity = source.aoMapIntensity;
|
|
537
|
-
this.bumpMap = source.bumpMap;
|
|
538
|
-
this.bumpScale = source.bumpScale;
|
|
539
|
-
this.depthTest = source.depthTest;
|
|
540
|
-
this.depthWrite = source.depthWrite;
|
|
541
|
-
this.emissiveMap = source.emissiveMap;
|
|
542
|
-
this.emissiveness = source.emissiveness;
|
|
543
|
-
this.materialOutput = source.materialOutput;
|
|
544
|
-
this.normalMap = source.normalMap;
|
|
545
|
-
this.normalScale = source.normalScale;
|
|
546
|
-
this.opacity = source.opacity;
|
|
547
|
-
this.shading = source.shading;
|
|
548
|
-
this.side = source.side;
|
|
549
|
-
this.transparent = source.transparent;
|
|
550
|
-
|
|
551
|
-
this.alphaMap_0 = source.alphaMap_0;
|
|
552
|
-
this.alphaMap_1 = source.alphaMap_1;
|
|
553
|
-
this.alphaMap_2 = source.alphaMap_2;
|
|
554
|
-
this.alphaMap_3 = source.alphaMap_3;
|
|
555
|
-
this.alphaMap_4 = source.alphaMap_4;
|
|
556
|
-
this.alphaMap_5 = source.alphaMap_5;
|
|
557
|
-
this.alphaMap_6 = source.alphaMap_6;
|
|
558
|
-
this.alphaMap_7 = source.alphaMap_7;
|
|
559
|
-
this.color_0 = source.color_0;
|
|
560
|
-
this.color_1 = source.color_1;
|
|
561
|
-
this.color_2 = source.color_2;
|
|
562
|
-
this.color_3 = source.color_3;
|
|
563
|
-
this.color_4 = source.color_4;
|
|
564
|
-
this.color_5 = source.color_5;
|
|
565
|
-
this.color_6 = source.color_6;
|
|
566
|
-
this.color_7 = source.color_7;
|
|
567
|
-
this.map_0 = source.map_0;
|
|
568
|
-
this.map_1 = source.map_1;
|
|
569
|
-
this.map_2 = source.map_2;
|
|
570
|
-
this.map_3 = source.map_3;
|
|
571
|
-
this.map_4 = source.map_4;
|
|
572
|
-
this.map_5 = source.map_5;
|
|
573
|
-
this.map_6 = source.map_6;
|
|
574
|
-
this.map_7 = source.map_7;
|
|
575
|
-
this.materialIndexDataMap = source.materialIndexDataMap;
|
|
576
|
-
this.materialIndexDataMapSize = source.materialIndexDataMapSize;
|
|
577
|
-
this.size_0 = source.size_0;
|
|
578
|
-
this.size_1 = source.size_1;
|
|
579
|
-
this.size_2 = source.size_2;
|
|
580
|
-
this.size_3 = source.size_3;
|
|
581
|
-
this.size_4 = source.size_4;
|
|
582
|
-
this.size_5 = source.size_5;
|
|
583
|
-
this.size_6 = source.size_6;
|
|
584
|
-
this.size_7 = source.size_7;
|
|
585
|
-
this.sizeAttenuation_0 = source.sizeAttenuation_0;
|
|
586
|
-
this.sizeAttenuation_1 = source.sizeAttenuation_1;
|
|
587
|
-
this.sizeAttenuation_2 = source.sizeAttenuation_2;
|
|
588
|
-
this.sizeAttenuation_3 = source.sizeAttenuation_3;
|
|
589
|
-
this.sizeAttenuation_4 = source.sizeAttenuation_4;
|
|
590
|
-
this.sizeAttenuation_5 = source.sizeAttenuation_5;
|
|
591
|
-
this.sizeAttenuation_6 = source.sizeAttenuation_6;
|
|
592
|
-
this.sizeAttenuation_7 = source.sizeAttenuation_7;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
public reset(): void {
|
|
596
|
-
this.alphaCutoff = 0;
|
|
597
|
-
this.alphaMode = MATERIAL_ALPHA.OPAQUE;
|
|
598
|
-
this.aoMap = undefined;
|
|
599
|
-
this.aoMapIntensity = 1.0;
|
|
600
|
-
this.bumpMap = undefined;
|
|
601
|
-
this.bumpScale = 1.0;
|
|
602
|
-
this.depthTest = undefined;
|
|
603
|
-
this.depthWrite = undefined;
|
|
604
|
-
this.emissiveMap = undefined;
|
|
605
|
-
this.emissiveness = '#000000';
|
|
606
|
-
this.materialOutput = false;
|
|
607
|
-
this.normalMap = undefined;
|
|
608
|
-
this.normalScale = 1.0;
|
|
609
|
-
this.opacity = 1.0;
|
|
610
|
-
this.shading = MATERIAL_SHADING.SMOOTH;
|
|
611
|
-
this.side = MATERIAL_SIDE.DOUBLE;
|
|
612
|
-
this.transparent = undefined;
|
|
613
|
-
|
|
614
|
-
this.alphaMap_0 = undefined;
|
|
615
|
-
this.alphaMap_1 = undefined;
|
|
616
|
-
this.alphaMap_2 = undefined;
|
|
617
|
-
this.alphaMap_3 = undefined;
|
|
618
|
-
this.alphaMap_4 = undefined;
|
|
619
|
-
this.alphaMap_5 = undefined;
|
|
620
|
-
this.alphaMap_6 = undefined;
|
|
621
|
-
this.alphaMap_7 = undefined;
|
|
622
|
-
this.color_0 = '#ffffff';
|
|
623
|
-
this.color_1 = '#ffffff';
|
|
624
|
-
this.color_2 = '#ffffff';
|
|
625
|
-
this.color_3 = '#ffffff';
|
|
626
|
-
this.color_4 = '#ffffff';
|
|
627
|
-
this.color_5 = '#ffffff';
|
|
628
|
-
this.color_6 = '#ffffff';
|
|
629
|
-
this.color_7 = '#ffffff';
|
|
630
|
-
this.map_0 = undefined;
|
|
631
|
-
this.map_1 = undefined;
|
|
632
|
-
this.map_2 = undefined;
|
|
633
|
-
this.map_3 = undefined;
|
|
634
|
-
this.map_4 = undefined;
|
|
635
|
-
this.map_5 = undefined;
|
|
636
|
-
this.map_6 = undefined;
|
|
637
|
-
this.map_7 = undefined;
|
|
638
|
-
this.materialIndexDataMap = undefined;
|
|
639
|
-
this.materialIndexDataMapSize = undefined;
|
|
640
|
-
this.size_0 = undefined;
|
|
641
|
-
this.size_1 = undefined;
|
|
642
|
-
this.size_2 = undefined;
|
|
643
|
-
this.size_3 = undefined;
|
|
644
|
-
this.size_4 = undefined;
|
|
645
|
-
this.size_5 = undefined;
|
|
646
|
-
this.size_6 = undefined;
|
|
647
|
-
this.size_7 = undefined;
|
|
648
|
-
this.sizeAttenuation_0 = undefined;
|
|
649
|
-
this.sizeAttenuation_1 = undefined;
|
|
650
|
-
this.sizeAttenuation_2 = undefined;
|
|
651
|
-
this.sizeAttenuation_3 = undefined;
|
|
652
|
-
this.sizeAttenuation_4 = undefined;
|
|
653
|
-
this.sizeAttenuation_5 = undefined;
|
|
654
|
-
this.sizeAttenuation_6 = undefined;
|
|
655
|
-
this.sizeAttenuation_7 = undefined;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
// #endregion Public Methods (3)
|
|
659
|
-
}
|