@xeokit/xeokit-sdk 2.6.86 → 2.6.87-rc0-no-las
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/README.md +3 -3
- package/dist/xeokit-sdk.cjs.js +15512 -32635
- package/dist/xeokit-sdk.es.js +15513 -32634
- package/dist/xeokit-sdk.es5.js +31259 -29843
- package/dist/xeokit-sdk.es5.js.map +1 -0
- package/dist/xeokit-sdk.min.cjs.js +8 -8
- package/dist/xeokit-sdk.min.es.js +8 -8
- package/dist/xeokit-sdk.min.es5.js +34 -33
- package/dist/xeokit-sdk.min.es5.js.map +1 -0
- package/package.json +7 -3
- package/src/plugins/CxConverterIFCLoaderPlugin/CxConverterIFCLoaderPlugin.js +81 -81
- package/src/plugins/CxConverterIFCLoaderPlugin/index.js +1 -1
- package/src/plugins/LASLoaderPlugin/index.js +1 -1
- package/src/plugins/NavCubePlugin/NavCubePlugin.js +63 -22
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV1.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV10.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV12.js +9 -9
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV2.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV3.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV4.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV5.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV6.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV7.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV8.js +5 -5
- package/src/plugins/XKTLoaderPlugin/parsers/ParserV9.js +5 -5
- package/src/plugins/index.js +2 -2
- package/src/viewer/scene/CameraControl/lib/handlers/TouchPickHandler.js +7 -6
- package/types/plugins/AngleMeasurementsPlugin/AngleMeasurement.d.ts +26 -108
- package/types/plugins/CityJSONLoaderPlugin/CityJSONLoaderPlugin.d.ts +3 -14
- package/types/plugins/DotBIMLoaderPlugin/DotBIMLoaderPlugin.d.ts +5 -23
- package/types/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.d.ts +5 -25
- package/types/plugins/LASLoaderPlugin/LASLoaderPlugin.d.ts +20 -100
- package/types/plugins/STLLoaderPlugin/STLLoaderPlugin.d.ts +3 -14
- package/types/plugins/WebIFCLoaderPlugin/WebIFCLoaderPlugin.d.ts +18 -83
- package/types/plugins/XKTLoaderPlugin/XKTLoaderPlugin.d.ts +21 -106
- package/types/viewer/Configs.d.ts +6 -24
- package/types/viewer/scene/CameraControl/CameraControl.d.ts +66 -445
- package/types/viewer/scene/Component.d.ts +1 -1
- package/types/viewer/scene/Entity.d.ts +40 -186
- package/types/viewer/scene/camera/Camera.d.ts +50 -170
- package/types/viewer/scene/camera/CameraFlightAnimation.d.ts +8 -57
- package/types/viewer/scene/camera/CameraPath.d.ts +8 -13
- package/types/viewer/scene/camera/CameraPathAnimation.d.ts +4 -22
- package/types/viewer/scene/camera/CustomProjection.d.ts +6 -21
- package/types/viewer/scene/camera/Frustum.d.ts +18 -90
- package/types/viewer/scene/camera/Ortho.d.ts +14 -54
- package/types/viewer/scene/camera/Perspective.d.ts +16 -70
- package/types/viewer/scene/geometry/ReadableGeometry.d.ts +21 -25
- package/types/viewer/scene/geometry/VBOGeometry.d.ts +7 -7
- package/types/viewer/scene/lights/AmbientLight.d.ts +4 -26
- package/types/viewer/scene/lights/DirLight.d.ts +8 -52
- package/types/viewer/scene/lights/PointLight.d.ts +14 -93
- package/types/viewer/scene/materials/EdgeMaterial.d.ts +12 -37
- package/types/viewer/scene/materials/EmphasisMaterial.d.ts +22 -119
- package/types/viewer/scene/materials/Fresnel.d.ts +10 -50
- package/types/viewer/scene/materials/LambertMaterial.d.ts +16 -90
- package/types/viewer/scene/materials/LinesMaterial.d.ts +7 -25
- package/types/viewer/scene/materials/MetallicMaterial.d.ts +40 -127
- package/types/viewer/scene/materials/PhongMaterial.d.ts +52 -185
- package/types/viewer/scene/materials/PointsMaterial.d.ts +20 -101
- package/types/viewer/scene/materials/SpecularMaterial.d.ts +41 -117
- package/types/viewer/scene/materials/Texture.d.ts +22 -62
- package/types/viewer/scene/models/SceneModel.d.ts +76 -233
- package/types/viewer/scene/models/SceneModelEntity.d.ts +50 -211
- package/types/viewer/scene/models/SceneModelMesh.d.ts +4 -4
- package/types/viewer/scene/models/SceneModelTransform.d.ts +14 -59
- package/types/viewer/scene/paths/CubicBezierCurve.d.ts +12 -73
- package/types/viewer/scene/paths/Curve.d.ts +6 -19
- package/types/viewer/scene/paths/Path.d.ts +10 -57
- package/types/viewer/scene/paths/QuadraticBezierCurve.d.ts +10 -57
- package/types/viewer/scene/paths/SplineCurve.d.ts +6 -32
- package/types/viewer/scene/scene/Scene.d.ts +94 -196
- package/types/viewer/scene/sectionPlane/SectionPlane.d.ts +12 -69
- package/types/viewer/scene/viewport/Viewport.d.ts +4 -14
- package/types/viewer/scene/webgl/PickResult.d.ts +13 -28
|
@@ -55,33 +55,26 @@ export declare class SpecularMaterial extends Material {
|
|
|
55
55
|
constructor(owner: Component, cfg?: SpecularMaterialConfiguration)
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* RGB diffuse color of this SpecularMaterial.
|
|
59
59
|
*
|
|
60
60
|
* Multiplies by the *RGB* components of {@link SpecularMaterial#diffuseMap}.
|
|
61
61
|
*
|
|
62
62
|
* Default value is ````[1.0, 1.0, 1.0]````.
|
|
63
63
|
* @type {Number[]}
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
diffuse: number[];
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* @type {Number[]}
|
|
71
|
-
*/
|
|
72
|
-
get diffuse(): number[];
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Gets the RGB {@link Texture} containing the diffuse color of this SpecularMaterial, with optional *A* component for alpha.
|
|
68
|
+
* RGB {@link Texture} containing the diffuse color of this SpecularMaterial, with optional *A* component for alpha.
|
|
76
69
|
*
|
|
77
70
|
* The *RGB* components multipliues by the {@link SpecularMaterial#diffuse} property, while the *A* component, if present, multiplies by the {@link SpecularMaterial#alpha} property.
|
|
78
71
|
*
|
|
79
72
|
* @type {Texture}
|
|
80
73
|
*/
|
|
81
|
-
|
|
74
|
+
readonly diffuseMap: Texture;
|
|
82
75
|
|
|
83
76
|
/**
|
|
84
|
-
*
|
|
77
|
+
* RGB specular color of this SpecularMaterial.
|
|
85
78
|
*
|
|
86
79
|
* Multiplies by {@link SpecularMaterial#specularMap} and the *A* component of {@link SpecularMaterial#specularGlossinessMap}.
|
|
87
80
|
*
|
|
@@ -89,35 +82,28 @@ export declare class SpecularMaterial extends Material {
|
|
|
89
82
|
*
|
|
90
83
|
* @type {Number[]}
|
|
91
84
|
*/
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Gets the RGB specular color of this SpecularMaterial.
|
|
96
|
-
*
|
|
97
|
-
* @type {Number[]}
|
|
98
|
-
*/
|
|
99
|
-
get specular(): number[];
|
|
85
|
+
specular: number[];
|
|
100
86
|
|
|
101
87
|
/**
|
|
102
|
-
*
|
|
88
|
+
* RGB texture containing the specular color of this SpecularMaterial.
|
|
103
89
|
*
|
|
104
90
|
* Multiplies by {@link SpecularMaterial#specular}.
|
|
105
91
|
*
|
|
106
92
|
* @type {Texture}
|
|
107
93
|
*/
|
|
108
|
-
|
|
94
|
+
readonly specularMap: Texture;
|
|
109
95
|
|
|
110
96
|
/**
|
|
111
|
-
*
|
|
97
|
+
* RGBA texture containing this SpecularMaterial's specular color in its *RGB* components and glossiness in its *A* component.
|
|
112
98
|
*
|
|
113
99
|
* The *RGB* components multiplies {@link SpecularMaterial#specular}, while the *A* component multiplies by {@link SpecularMaterial#glossiness}.
|
|
114
100
|
*
|
|
115
101
|
* @type {Texture}
|
|
116
102
|
*/
|
|
117
|
-
|
|
103
|
+
readonly specularGlossinessMap: Texture;
|
|
118
104
|
|
|
119
105
|
/**
|
|
120
|
-
*
|
|
106
|
+
* Factor in the range [0..1] indicating how glossy this SpecularMaterial is.
|
|
121
107
|
*
|
|
122
108
|
* ````0```` is no glossiness, ````1```` is full glossiness.
|
|
123
109
|
*
|
|
@@ -127,40 +113,27 @@ export declare class SpecularMaterial extends Material {
|
|
|
127
113
|
*
|
|
128
114
|
* @type {Number}
|
|
129
115
|
*/
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Gets the Factor in the range ````[0..1]```` indicating how glossy this SpecularMaterial is.
|
|
134
|
-
* @type {Number}
|
|
135
|
-
*/
|
|
136
|
-
get glossiness(): number;
|
|
116
|
+
glossiness: number;
|
|
137
117
|
|
|
138
118
|
/**
|
|
139
|
-
*
|
|
119
|
+
* RGB texture containing this SpecularMaterial's glossiness in its *R* component.
|
|
140
120
|
*
|
|
141
121
|
* The *R* component multiplies by {@link SpecularMaterial#glossiness}.
|
|
142
|
-
|
|
122
|
+
* @type {Texture}
|
|
143
123
|
*/
|
|
144
|
-
|
|
124
|
+
readonly glossinessMap: Texture;
|
|
145
125
|
|
|
146
126
|
/**
|
|
147
|
-
*
|
|
127
|
+
* Factor in the range ````[0..1]```` indicating amount of specular Fresnel.
|
|
148
128
|
*
|
|
149
129
|
* Default value is ````0.0````.
|
|
150
130
|
*
|
|
151
131
|
* @type {Number}
|
|
152
132
|
*/
|
|
153
|
-
|
|
133
|
+
specularF0: number;
|
|
154
134
|
|
|
155
135
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* @type {Number}
|
|
159
|
-
*/
|
|
160
|
-
get specularF0(): number;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Sets the RGB emissive color of this SpecularMaterial.
|
|
136
|
+
* RGB emissive color of this SpecularMaterial.
|
|
164
137
|
*
|
|
165
138
|
* Multiplies by {@link SpecularMaterial#emissiveMap}.
|
|
166
139
|
|
|
@@ -168,26 +141,19 @@ export declare class SpecularMaterial extends Material {
|
|
|
168
141
|
*
|
|
169
142
|
* @type {Number[]}
|
|
170
143
|
*/
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Gets the RGB emissive color of this SpecularMaterial.
|
|
175
|
-
*
|
|
176
|
-
* @type {Number[]}
|
|
177
|
-
*/
|
|
178
|
-
get emissive(): number[];
|
|
144
|
+
emissive: number[];
|
|
179
145
|
|
|
180
146
|
/**
|
|
181
|
-
*
|
|
147
|
+
* RGB texture containing the emissive color of this SpecularMaterial.
|
|
182
148
|
*
|
|
183
149
|
* Multiplies by {@link SpecularMaterial#emissive}.
|
|
184
150
|
*
|
|
185
151
|
* @type {Texture}
|
|
186
152
|
*/
|
|
187
|
-
|
|
153
|
+
readonly emissiveMap: Texture;
|
|
188
154
|
|
|
189
155
|
/**
|
|
190
|
-
*
|
|
156
|
+
* Factor in the range [0..1] indicating how transparent this SpecularMaterial is.
|
|
191
157
|
*
|
|
192
158
|
* A value of ````0.0```` is fully transparent, while ````1.0```` is fully opaque.
|
|
193
159
|
*
|
|
@@ -197,42 +163,35 @@ export declare class SpecularMaterial extends Material {
|
|
|
197
163
|
*
|
|
198
164
|
* @type {Number}
|
|
199
165
|
*/
|
|
200
|
-
|
|
166
|
+
alpha: number;
|
|
201
167
|
|
|
202
168
|
/**
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* @type {Number}
|
|
206
|
-
*/
|
|
207
|
-
get alpha(): number;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Gets the RGB {@link Texture} with alpha in its *R* component.
|
|
169
|
+
* RGB {@link Texture} with alpha in its *R* component.
|
|
211
170
|
*
|
|
212
171
|
* The *R* component multiplies by the {@link SpecularMaterial#alpha} property.
|
|
213
172
|
*
|
|
214
173
|
* @type {Texture}
|
|
215
174
|
*/
|
|
216
|
-
|
|
175
|
+
readonly alphaMap: Texture;
|
|
217
176
|
|
|
218
177
|
/**
|
|
219
|
-
*
|
|
178
|
+
* RGB tangent-space normal {@link Texture} attached to this SpecularMaterial.
|
|
220
179
|
*
|
|
221
180
|
* @type {Texture}
|
|
222
181
|
*/
|
|
223
|
-
|
|
182
|
+
readonly normalMap: Texture;
|
|
224
183
|
|
|
225
184
|
/**
|
|
226
|
-
*
|
|
185
|
+
* RGB ambient occlusion {@link Texture} attached to this SpecularMaterial.
|
|
227
186
|
*
|
|
228
187
|
* Multiplies by the specular and diffuse light reflected by surfaces.
|
|
229
188
|
*
|
|
230
189
|
* @type {Texture}
|
|
231
190
|
*/
|
|
232
|
-
|
|
191
|
+
readonly occlusionMap: Texture;
|
|
233
192
|
|
|
234
193
|
/**
|
|
235
|
-
*
|
|
194
|
+
* Alpha rendering mode.
|
|
236
195
|
*
|
|
237
196
|
* This governs how alpha is treated. Alpha is the combined result of the {@link SpecularMaterial#alpha} and {@link SpecularMaterial#alphaMap} properties.
|
|
238
197
|
*
|
|
@@ -244,10 +203,10 @@ export declare class SpecularMaterial extends Material {
|
|
|
244
203
|
*
|
|
245
204
|
* @type {String}
|
|
246
205
|
*/
|
|
247
|
-
|
|
206
|
+
alphaMode: "opaque" | "blend" | "mask";
|
|
248
207
|
|
|
249
208
|
/**
|
|
250
|
-
*
|
|
209
|
+
* Alpha cutoff value.
|
|
251
210
|
*
|
|
252
211
|
* Specifies the cutoff threshold when {@link SpecularMaterial#alphaMode} equals "mask". If the alpha is greater than or equal to this value then it is rendered as fully opaque, otherwise, it is rendered as fully transparent. A value greater than 1.0 will render the entire material as fully transparent. This value is ignored for other modes.
|
|
253
212
|
*
|
|
@@ -257,17 +216,10 @@ export declare class SpecularMaterial extends Material {
|
|
|
257
216
|
*
|
|
258
217
|
* @type {Number}
|
|
259
218
|
*/
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Gets the alpha cutoff value.
|
|
264
|
-
|
|
265
|
-
* @type {Number}
|
|
266
|
-
*/
|
|
267
|
-
get alphaCutoff(): number;
|
|
219
|
+
alphaCutoff: number;
|
|
268
220
|
|
|
269
221
|
/**
|
|
270
|
-
*
|
|
222
|
+
* Whether backfaces are visible on attached {@link Mesh}es.
|
|
271
223
|
*
|
|
272
224
|
* The backfaces will belong to {@link ReadableGeometry} compoents that are also attached to the {@link Mesh}es.
|
|
273
225
|
*
|
|
@@ -275,33 +227,19 @@ export declare class SpecularMaterial extends Material {
|
|
|
275
227
|
*
|
|
276
228
|
* @type {Boolean}
|
|
277
229
|
*/
|
|
278
|
-
|
|
230
|
+
backfaces: boolean;
|
|
279
231
|
|
|
280
232
|
/**
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* @type {Boolean}
|
|
284
|
-
*/
|
|
285
|
-
get backfaces(): boolean;
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* Sets the winding direction of front faces of {@link Geometry} of attached {@link Mesh}es.
|
|
233
|
+
* Winding direction of front faces of {@link Geometry} of attached {@link Mesh}es.
|
|
289
234
|
*
|
|
290
235
|
* Default value is ````"ccw"````.
|
|
291
236
|
*
|
|
292
237
|
* @type {String}
|
|
293
238
|
*/
|
|
294
|
-
|
|
239
|
+
frontface: "cw" | "ccw";
|
|
295
240
|
|
|
296
241
|
/**
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
* @type {String}
|
|
300
|
-
*/
|
|
301
|
-
get frontface(): "cw" | "ccw";
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* Sets the SpecularMaterial's line width.
|
|
242
|
+
* SpecularMaterial's line width.
|
|
305
243
|
*
|
|
306
244
|
* This is not supported by WebGL implementations based on DirectX [2019].
|
|
307
245
|
*
|
|
@@ -309,30 +247,16 @@ export declare class SpecularMaterial extends Material {
|
|
|
309
247
|
*
|
|
310
248
|
* @type {Number}
|
|
311
249
|
*/
|
|
312
|
-
|
|
250
|
+
lineWidth: number;
|
|
313
251
|
|
|
314
252
|
/**
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
* @type {Number}
|
|
318
|
-
*/
|
|
319
|
-
get lineWidth(): number;
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* Sets the SpecularMaterial's point size.
|
|
253
|
+
* SpecularMaterial's point size.
|
|
323
254
|
*
|
|
324
255
|
* Default value is ````1.0````.
|
|
325
256
|
*
|
|
326
257
|
* @type {Number}
|
|
327
258
|
*/
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Sets the SpecularMaterial's point size.
|
|
332
|
-
*
|
|
333
|
-
* @type {Number}
|
|
334
|
-
*/
|
|
335
|
-
get pointSize(): number;
|
|
259
|
+
pointSize: number;
|
|
336
260
|
|
|
337
261
|
/**
|
|
338
262
|
* Destroys this SpecularMaterial.
|
|
@@ -35,88 +35,48 @@ export declare class Texture extends Component {
|
|
|
35
35
|
constructor(owner: Component, cfg?: TextureConfiguration);
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* 2D translation vector added to this Texture's *S* and *T* UV coordinates.
|
|
39
39
|
*
|
|
40
40
|
* Default value is ````[0, 0]````.
|
|
41
41
|
*
|
|
42
42
|
* @type {Number[]}
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
translate: number[];
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* Default value is ````[0, 0]````.
|
|
49
|
-
*
|
|
50
|
-
* @type {Number[]}
|
|
51
|
-
*/
|
|
52
|
-
get translate(): number[];
|
|
53
|
-
/**
|
|
54
|
-
* Sets the 2D scaling vector that will be applied to this Texture's *S* and *T* UV coordinates.
|
|
55
|
-
*
|
|
56
|
-
* Default value is ````[1, 1]````.
|
|
57
|
-
*
|
|
58
|
-
* @type {Number[]}
|
|
59
|
-
*/
|
|
60
|
-
set scale(arg: number[]);
|
|
61
|
-
/**
|
|
62
|
-
* Gets the 2D scaling vector that will be applied to this Texture's *S* and *T* UV coordinates.
|
|
46
|
+
* 2D scaling vector that will be applied to this Texture's *S* and *T* UV coordinates.
|
|
63
47
|
*
|
|
64
48
|
* Default value is ````[1, 1]````.
|
|
65
49
|
*
|
|
66
50
|
* @type {Number[]}
|
|
67
51
|
*/
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Sets the rotation angles, in degrees, that will be applied to this Texture's *S* and *T* UV coordinates.
|
|
71
|
-
*
|
|
72
|
-
* Default value is ````0````.
|
|
73
|
-
*
|
|
74
|
-
* @type {Number}
|
|
75
|
-
*/
|
|
76
|
-
set rotate(arg: number);
|
|
52
|
+
scale: number[];
|
|
77
53
|
/**
|
|
78
|
-
*
|
|
54
|
+
* Rotation angles, in degrees, that will be applied to this Texture's *S* and *T* UV coordinates.
|
|
79
55
|
*
|
|
80
56
|
* Default value is ````0````.
|
|
81
57
|
*
|
|
82
58
|
* @type {Number}
|
|
83
59
|
*/
|
|
84
|
-
|
|
60
|
+
rotate: number;
|
|
85
61
|
/**
|
|
86
|
-
*
|
|
62
|
+
* Path to an image file to source this Texture from.
|
|
87
63
|
*
|
|
88
64
|
* Sets {@link Texture.image} null.
|
|
89
65
|
*
|
|
90
66
|
* @type {String}
|
|
91
67
|
*/
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Gets path to the image file this Texture from, if any.
|
|
95
|
-
*
|
|
96
|
-
* Returns null if not set.
|
|
97
|
-
*
|
|
98
|
-
* @type {String}
|
|
99
|
-
*/
|
|
100
|
-
get src(): string;
|
|
68
|
+
src: string;
|
|
101
69
|
/**
|
|
102
|
-
*
|
|
70
|
+
* HTML DOM Image object to source this Texture from.
|
|
103
71
|
*
|
|
104
72
|
* Sets {@link Texture.src} null.
|
|
105
73
|
*
|
|
106
74
|
* @type {HTMLImageElement}
|
|
107
75
|
*/
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Gets HTML DOM Image object this Texture is sourced from, if any.
|
|
111
|
-
*
|
|
112
|
-
* Returns null if not set.
|
|
113
|
-
*
|
|
114
|
-
* @type {HTMLImageElement}
|
|
115
|
-
*/
|
|
116
|
-
get image(): HTMLImageElement;
|
|
76
|
+
image: HTMLImageElement;
|
|
117
77
|
|
|
118
78
|
/**
|
|
119
|
-
*
|
|
79
|
+
* How this Texture is sampled when a texel covers less than one pixel.
|
|
120
80
|
*
|
|
121
81
|
* Options are:
|
|
122
82
|
*
|
|
@@ -151,9 +111,9 @@ export declare class Texture extends Component {
|
|
|
151
111
|
*
|
|
152
112
|
* @type {String}
|
|
153
113
|
*/
|
|
154
|
-
|
|
114
|
+
readonly minFilter: string;
|
|
155
115
|
/**
|
|
156
|
-
*
|
|
116
|
+
* How this Texture is sampled when a texel covers more than one pixel.
|
|
157
117
|
*
|
|
158
118
|
* * "nearest" - Uses the value of the texture element that is nearest
|
|
159
119
|
* (in Manhattan distance) to the center of the pixel being textured.
|
|
@@ -164,9 +124,9 @@ export declare class Texture extends Component {
|
|
|
164
124
|
*
|
|
165
125
|
* @type {String}
|
|
166
126
|
*/
|
|
167
|
-
|
|
127
|
+
readonly magFilter: string;
|
|
168
128
|
/**
|
|
169
|
-
*
|
|
129
|
+
* Wrap parameter for this Texture's *S* coordinate.
|
|
170
130
|
*
|
|
171
131
|
* Values can be:
|
|
172
132
|
*
|
|
@@ -181,9 +141,9 @@ export declare class Texture extends Component {
|
|
|
181
141
|
*
|
|
182
142
|
* @type {String}
|
|
183
143
|
*/
|
|
184
|
-
|
|
144
|
+
readonly wrapS: string;
|
|
185
145
|
/**
|
|
186
|
-
*
|
|
146
|
+
* Wrap parameter for this Texture's *T* coordinate.
|
|
187
147
|
*
|
|
188
148
|
* Values can be:
|
|
189
149
|
*
|
|
@@ -198,19 +158,19 @@ export declare class Texture extends Component {
|
|
|
198
158
|
*
|
|
199
159
|
* @type {String}
|
|
200
160
|
*/
|
|
201
|
-
|
|
161
|
+
readonly wrapT: string;
|
|
202
162
|
/**
|
|
203
|
-
*
|
|
163
|
+
* Whether this Texture's source data is flipped along its vertical axis.
|
|
204
164
|
*
|
|
205
165
|
* @type {Boolean}
|
|
206
166
|
*/
|
|
207
|
-
|
|
167
|
+
readonly flipY: boolean;
|
|
208
168
|
/**
|
|
209
|
-
*
|
|
169
|
+
* Texture's encoding format.
|
|
210
170
|
*
|
|
211
171
|
* @type {String}
|
|
212
172
|
*/
|
|
213
|
-
|
|
173
|
+
readonly encoding: string;
|
|
214
174
|
/**
|
|
215
175
|
* Destroys this Texture
|
|
216
176
|
*/
|